Class StandardState
A standard state for typical traversals mimicking rendering activities. Keeps track of the main matrices as well as selected render states.
Implements
Inherited Members
Namespace: Fusee.Xene
Assembly: Fusee.Xene.dll
Syntax
public class StandardState : VisitorState, IStateStack
Constructors
StandardState()
Initializes a new instance of the StandardState class.
Declaration
public StandardState()
Properties
Model
Gets and sets the top of the Model matrix stack. The Model matrix transforms model coordinates into world coordinates.
Declaration
public float4x4 Model { get; set; }
Property Value
Type | Description |
---|---|
float4x4 | The Model matrix. |
Projection
Gets and sets the top of the Projection matrix stack. The Projection matrix transforms view coordinates into projection coordinates. The Projection matrix contains a camera's intrinsic parameters (field-of-view/focal length for perspective projections).
Declaration
public float4x4 Projection { get; set; }
Property Value
Type | Description |
---|---|
float4x4 | The Projection matrix |
View
Gets and sets the top of the View matrix stack. The View matrix transforms world coordinates into view coordinates. The View matrix contains a camera's extrinsic parameters (position and orientation).
Declaration
public float4x4 View { get; set; }
Property Value
Type | Description |
---|---|
float4x4 | The View matrix. |