C# Class LSLib.Granny.Model.Bone

Show file Open project: Norbyte/lslib Class Usage Examples

Public Properties

Property Type Description
LODError float
Name string
ParentIndex int
Transform Transform

Public Methods

Method Description
CalculateInverseWorldTransform ( List bones ) : Matrix4
FromCollada ( node bone, int parentIndex, List bones, Bone>.Dictionary boneSIDs, Bone>.Dictionary boneIDs ) : Bone
MakeCollada ( string parentName ) : node
UpdateInverseWorldTransform ( List bones ) : void

Method Details

CalculateInverseWorldTransform() public method

public CalculateInverseWorldTransform ( List bones ) : Matrix4
bones List
return Matrix4

FromCollada() public static method

public static FromCollada ( node bone, int parentIndex, List bones, Bone>.Dictionary boneSIDs, Bone>.Dictionary boneIDs ) : Bone
bone Collada141.node
parentIndex int
bones List
boneSIDs Bone>.Dictionary
boneIDs Bone>.Dictionary
return Bone

MakeCollada() public method

public MakeCollada ( string parentName ) : node
parentName string
return Collada141.node

UpdateInverseWorldTransform() public method

public UpdateInverseWorldTransform ( List bones ) : void
bones List
return void

Property Details

LODError public property

public float LODError
return float

Name public property

public string Name
return string

ParentIndex public property

public int ParentIndex
return int

Transform public property

public Transform Transform
return Transform