Click or drag to resize

StandardState Class

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

Namespace:  Fusee.Xene
Assembly:  Fusee.Xene (in Fusee.Xene.dll) Version: (
public class StandardState : VisitorState

The StandardState type exposes the following members.

Public methodStandardState
Initializes a new instance of the StandardState class.
Public propertyDepth
Retrieves the state's overall depth.
(Inherited from VisitorState.)
Public propertyModel
Gets or sets the top of the Model matrix stack. The Model matrix transforms model coordinates into world coordinates.
Public propertyProjection
Gets or 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).
Public propertyView
Gets or 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).
Public methodClear
Clears all registered state stacks. The Depth will be reset to zero.
(Inherited from VisitorState.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPop
The visitor state's Pop operation. Pops all registered state stacks.
(Inherited from VisitorState.)
Public methodPush
The visitor state's Push operation. Pushes all registered state stacks.
(Inherited from VisitorState.)
Protected methodRegisterState
Registers a state stack. State stacks need to be registered to be notified when the entire state is pushed or popped.
(Inherited from VisitorState.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also