Class SkeletonMapping
Helper class used to map model nodes/bones from one skeleton into another. Useful for animation retargeting.
Inheritance
SkeletonMapping
    Inherited Members
      SkeletonMapping
    
  Assembly: FlaxEngine.dll
File: Engine/Graphics/Models/SkeletonMapping.h
Syntax
public class SkeletonMapping<T>Type Parameters
| typename T 
 | 
Constructors
~SkeletonMapping()
SkeletonMapping(const Items& sourceSkeleton, const Items* targetSkeleton)
Initializes a new instance of the SkeletonMapping class.
Declaration
public SkeletonMapping(const Items& sourceSkeleton, const Items* targetSkeleton)Parameters
| Items
        sourceSkeleton The source model skeleton. | 
| Items
        targetSkeleton The target skeleton. May be null to disable nodes mapping. | 
Fields
Size
The amount of the nodes (from the source skeleton).
Declaration
public int32 SizeField Value
| int32 
 | 
SourceToSource
A round-trip through TargetToSource[SourceToTarget[i]] so that we know easily what nodes are remapped in source skeleton side.
Declaration
public Array<int32> SourceToSourceField Value
| Array<int32> 
 | 
SourceToTarget
The node mapping from source to target skeletons.
Declaration
public Array<int32> SourceToTargetField Value
| Array<int32> 
 |