C# Class FBX.SceneLoader.Objects.LoaderTempTransform

Inheritance: LoaderTempSceneObject
Datei anzeigen Open project: Patapom/GodComplex

Protected Properties

Property Type Description
m_AnimP FBXImporter.AnimationTrack[]
m_AnimR FBXImporter.AnimationTrack[]
m_AnimS FBXImporter.AnimationTrack[]
m_AnimationSourceMatrix Matrix4x4
m_Matrix Matrix4x4
m_Meshes List
m_Pivot Matrix4x4
m_Position System.Point
m_QuatRotation Quat
m_Rotation Matrix3x3
m_Scale Vector
m_bAnimated bool

Public Methods

Method Description
AddMesh ( LoaderTempMesh _Mesh ) : void

Adds a mesh to this transform

This will transform into referenced shapes in the JSON file

LoaderTempTransform ( SceneLoader _Owner, string _Name ) : System
SetAnimationSourceMatrix ( Matrix4x4 _SourceMatrix ) : void
SetAnimationTrackPositions ( FBXImporter _Tracks ) : void
SetAnimationTrackRotations ( FBXImporter _Tracks ) : void
SetAnimationTrackScales ( FBXImporter _Tracks ) : void
SetMatrix ( Matrix4x4 _Matrix ) : void
SetPosition ( float _x, float _y, float _z ) : void
SetRotationFromMatrix ( float _Row0, float _Row1, float _Row2 ) : void
SetRotationFromQuat ( float _x, float _y, float _z, float _s ) : void
SetScale ( float _x, float _y, float _z ) : void

Method Details

AddMesh() public method

Adds a mesh to this transform
This will transform into referenced shapes in the JSON file
public AddMesh ( LoaderTempMesh _Mesh ) : void
_Mesh LoaderTempMesh The mesh to add
return void

LoaderTempTransform() public method

public LoaderTempTransform ( SceneLoader _Owner, string _Name ) : System
_Owner SceneLoader
_Name string
return System

SetAnimationSourceMatrix() public method

public SetAnimationSourceMatrix ( Matrix4x4 _SourceMatrix ) : void
_SourceMatrix Matrix4x4
return void

SetAnimationTrackPositions() public method

public SetAnimationTrackPositions ( FBXImporter _Tracks ) : void
_Tracks FBXImporter
return void

SetAnimationTrackRotations() public method

public SetAnimationTrackRotations ( FBXImporter _Tracks ) : void
_Tracks FBXImporter
return void

SetAnimationTrackScales() public method

public SetAnimationTrackScales ( FBXImporter _Tracks ) : void
_Tracks FBXImporter
return void

SetMatrix() public method

public SetMatrix ( Matrix4x4 _Matrix ) : void
_Matrix Matrix4x4
return void

SetPosition() public method

public SetPosition ( float _x, float _y, float _z ) : void
_x float
_y float
_z float
return void

SetRotationFromMatrix() public method

public SetRotationFromMatrix ( float _Row0, float _Row1, float _Row2 ) : void
_Row0 float
_Row1 float
_Row2 float
return void

SetRotationFromQuat() public method

public SetRotationFromQuat ( float _x, float _y, float _z, float _s ) : void
_x float
_y float
_z float
_s float
return void

SetScale() public method

public SetScale ( float _x, float _y, float _z ) : void
_x float
_y float
_z float
return void

Property Details

m_AnimP protected_oe property

protected FBXImporter.AnimationTrack[] m_AnimP
return FBXImporter.AnimationTrack[]

m_AnimR protected_oe property

protected FBXImporter.AnimationTrack[] m_AnimR
return FBXImporter.AnimationTrack[]

m_AnimS protected_oe property

protected FBXImporter.AnimationTrack[] m_AnimS
return FBXImporter.AnimationTrack[]

m_AnimationSourceMatrix protected_oe property

protected Matrix4x4 m_AnimationSourceMatrix
return Matrix4x4

m_Matrix protected_oe property

protected Matrix4x4 m_Matrix
return Matrix4x4

m_Meshes protected_oe property

protected List m_Meshes
return List

m_Pivot protected_oe property

protected Matrix4x4 m_Pivot
return Matrix4x4

m_Position protected_oe property

protected Point,System m_Position
return System.Point

m_QuatRotation protected_oe property

protected Quat m_QuatRotation
return Quat

m_Rotation protected_oe property

protected Matrix3x3 m_Rotation
return Matrix3x3

m_Scale protected_oe property

protected Vector m_Scale
return Vector

m_bAnimated protected_oe property

protected bool m_bAnimated
return bool