Lysa.nodes  0.0
Lysa 3D Engine
Viewport Struct Reference

Detailed Description

A node that defines a viewport and scissor region for the scene camera.

Inherits from: Node

Lua full name: lysa.nodes.Viewport

Properties

vireo.Viewport viewport
 The viewport rectangle and depth range (x, y, width, height, minDepth, maxDepth).
 
vireo.Rect scissors
 The scissor rectangle used to clip rendering to a sub-region of the viewport.
 

Property Documentation

vireo.Viewport viewport

The viewport rectangle and depth range (x, y, width, height, minDepth, maxDepth).

vireo.Rect scissors

The scissor rectangle used to clip rendering to a sub-region of the viewport.