Show / Hide Table of Contents

Class StandardState

A standard state for typical traversals mimicking rendering activities. Keeps track of the main matrices as well as selected render states.

Inheritance
System.Object
VisitorState
StandardState
Implements
IStateStack
Inherited Members
VisitorState.RegisterState(IStateStack)
VisitorState.Push()
VisitorState.Pop()
VisitorState.Clear()
VisitorState.Depth
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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.

Implements

IStateStack
Generated by DocFX
GitHub Repo
Back to top