Property | Type | Description | |
---|---|---|---|
m_Cameras | List |
||
m_ID2MaterialParameters | MaterialParameters>.Dictionary | ||
m_ID2Node | Node>.Dictionary | ||
m_ID2Texture | Texture2D>.Dictionary | ||
m_Lights | List |
||
m_MaterialParameters | List |
||
m_MaterialParametersIDCounter | int | ||
m_Meshes | List |
||
m_NodeIDCounter | int | ||
m_Root | |||
m_TextureIDCounter | int | ||
m_Textures | List |
||
m_URL2Texture | Texture2D>.Dictionary |
Method | Description | |
---|---|---|
ClearMaterialParameters ( ) : void |
Clear the list of material parameters
|
|
ClearNodes ( ) : void |
Clear the hierarchy of nodes
|
|
ClearTextures ( ) : void |
Clear the list of textures
|
|
ComputeObjectDeltaPositionRotation ( Matrix4x4 &_Previous, Matrix4x4 &_Current, Vector &_DeltaPosition, Quat &_DeltaRotation, Vector &_Pivot ) : void |
Helper method that helps to compute the difference in translation and rotation of an object moving from one frame to the other This is essentially used for motion blur
|
|
CreateCamera ( string _Name, |
Creates a new camera for the scene
|
|
CreateLight ( string _Name, |
Creates a new light for the scene
|
|
CreateMaterialParameters ( string _Name, string _ShaderURL ) : |
Creates a new material parameter block
|
|
CreateMesh ( string _Name, |
Creates a new mesh for the scene
|
|
CreateNode ( string _Name, |
Creates a new node for the scene
|
|
CreateTexture ( string _URL, string _OpacityURL, bool _bCreateMipMaps ) : |
Creates a new texture for the scene
|
|
FindMaterialParameters ( int _ID ) : |
Finds a material parameter block by ID
|
|
FindMaterialParameters ( string _Name ) : |
Finds a material parameter block by name
|
|
FindMesh ( string _Name, bool _bCaseSensitive ) : |
Finds a mesh by name
|
|
FindNode ( |
Custom node finder
|
|
FindNode ( int _NodeID ) : |
Finds a node by ID
|
|
FindNode ( string _Name, bool _bCaseSensitive ) : |
Finds a node by name
|
|
FindTexture ( int _ID ) : |
Finds a texture by ID
|
|
Load ( System _Reader ) : void |
Creates a scene from a stream
|
|
Save ( System _Writer ) : void |
Writes a scene to a stream
|
|
Scene ( ) : System |
Creates a default scene
|
Method | Description | |
---|---|---|
FindMesh ( |
||
FindNode ( |
||
FindNode ( |
Method | Description | |
---|---|---|
QuatFromMatrix ( Matrix4x4 M ) : Quat | ||
QuatInvert ( Quat q ) : Quat | ||
QuatMultiply ( Quat q0, Quat q1 ) : Quat | ||
RegisterNodeID ( |
Registers the node's ID and associate it to the node so we can find nodes by ID later
|
|
RotateAbout ( Vector _Point, Vector _Pivot, Quat _Rotation ) : Vector |
public static ComputeObjectDeltaPositionRotation ( Matrix4x4 &_Previous, Matrix4x4 &_Current, Vector &_DeltaPosition, Quat &_DeltaRotation, Vector &_Pivot ) : void | ||
_Previous | Matrix4x4 | The object's matrix at previous frame |
_Current | Matrix4x4 | The object's matrix at current frame |
_DeltaPosition | Vector | Returns the difference in position from last frame |
_DeltaRotation | Quat | Returns the difference in rotation from last frame |
_Pivot | Vector | Returns the pivot position the object rotated about |
return | void |
public CreateCamera ( string _Name, |
||
_Name | string | |
_Parent | ||
_Local2Parent | Matrix4x4 | |
return |
public CreateLight ( string _Name, |
||
_Name | string | |
_Parent | ||
_Local2Parent | Matrix4x4 | |
return |
public CreateMaterialParameters ( string _Name, string _ShaderURL ) : |
||
_Name | string | The name of the parameter block |
_ShaderURL | string | The URL of the shader that uses theses parameters (this can be a path to an actual shader, or an identifier like Phong, Lambert, Blinn, whatever really as anyway these parameters are later read and identified by you so you can use whatever makes you comfortable) |
return |
public CreateMesh ( string _Name, |
||
_Name | string | |
_Parent | ||
_Local2Parent | Matrix4x4 | |
return |
public CreateNode ( string _Name, |
||
_Name | string | |
_Parent | ||
_Local2Parent | Matrix4x4 | |
return |
public CreateTexture ( string _URL, string _OpacityURL, bool _bCreateMipMaps ) : |
||
_URL | string | The relative texture URL to identify the texture |
_OpacityURL | string | The optional relative URL to identify the opacity texture |
_bCreateMipMaps | bool | True if the texture should be created using mip-maps |
return |
public FindMaterialParameters ( int _ID ) : |
||
_ID | int | |
return |
public FindMaterialParameters ( string _Name ) : |
||
_Name | string | |
return |
protected FindMesh ( |
||
_Node | ||
_Name | string | |
_bCaseSensitive | bool | |
return |
public FindMesh ( string _Name, bool _bCaseSensitive ) : |
||
_Name | string | |
_bCaseSensitive | bool | |
return |
public FindNode ( |
||
_Node | ||
_D | FindNodeDelegate | |
return |
protected FindNode ( |
||
_Node | ||
_NodeID | int | |
return |
protected FindNode ( |
||
_Node | ||
_Name | string | |
_bCaseSensitive | bool | |
return |
public FindNode ( int _NodeID ) : |
||
_NodeID | int | |
return |
public FindNode ( string _Name, bool _bCaseSensitive ) : |
||
_Name | string | |
_bCaseSensitive | bool | |
return |
public FindTexture ( int _ID ) : |
||
_ID | int | |
return |
protected Dictionary |
||
return | MaterialParameters>.Dictionary |
protected int m_MaterialParametersIDCounter | ||
return | int |