![]() |
Resonance Game
Team Walterio Fuchsbauer
|
Combines all the data needed to render and animate a skinned object. This is typically stored in the Tag property of the Model being animated. More...
Public Member Functions | |
SkinningData (Dictionary< string, AnimationClip > animationClips, List< Matrix > bindPose, List< Matrix > inverseBindPose, List< int > skeletonHierarchy) | |
Constructs a new skinning data object. | |
Properties | |
Dictionary< string, AnimationClip > | AnimationClips [get, set] |
Gets a collection of animation clips. These are stored by name in a dictionary, so there could for instance be clips for "Walk", "Run", "JumpReallyHigh", etc. | |
List< Matrix > | BindPose [get, set] |
Bindpose matrices for each bone in the skeleton, relative to the parent bone. | |
List< Matrix > | InverseBindPose [get, set] |
Vertex to bonespace transforms for each bone in the skeleton. | |
List< int > | SkeletonHierarchy [get, set] |
For each bone in the skeleton, stores the index of the parent bone. |
Combines all the data needed to render and animate a skinned object. This is typically stored in the Tag property of the Model being animated.
AnimationLibrary.SkinningData.SkinningData | ( | Dictionary< string, AnimationClip > | animationClips, |
List< Matrix > | bindPose, | ||
List< Matrix > | inverseBindPose, | ||
List< int > | skeletonHierarchy | ||
) |
Constructs a new skinning data object.
Dictionary<string, AnimationClip> AnimationLibrary.SkinningData.AnimationClips [get, set] |
Gets a collection of animation clips. These are stored by name in a dictionary, so there could for instance be clips for "Walk", "Run", "JumpReallyHigh", etc.
List<Matrix> AnimationLibrary.SkinningData.BindPose [get, set] |
Bindpose matrices for each bone in the skeleton, relative to the parent bone.
List<Matrix> AnimationLibrary.SkinningData.InverseBindPose [get, set] |
Vertex to bonespace transforms for each bone in the skeleton.
List<int> AnimationLibrary.SkinningData.SkeletonHierarchy [get, set] |
For each bone in the skeleton, stores the index of the parent bone.