Search Results for

    Show / Hide Table of Contents

    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()

    Finalizes an instance of the SkeletonMapping class.

    Declaration
    public ~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 Size
    Field 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> SourceToSource
    Field Value
    Array<int32>

    SourceToTarget

    The node mapping from source to target skeletons.

    Declaration
    public Array<int32> SourceToTarget
    Field Value
    Array<int32>

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat