Search Results for

    Show / Hide Table of Contents

    Class SkeletonData

    Describes hierarchical bones in a flattened array.

    Bones are ordered so that parents always come first, allowing for hierarchical updates in a simple loop.

    Inheritance
    SkeletonData
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Models/SkeletonData.h
    Syntax
    public class SkeletonData

    Fields

    Bones

    The bones in this hierarchy.

    Declaration
    public Array<SkeletonBone> Bones
    Field Value
    Array<SkeletonBone>

    Nodes

    The nodes in this hierarchy. The root node is always at the index 0.

    Declaration
    public Array<SkeletonNode> Nodes
    Field Value
    Array<SkeletonNode>

    Methods

    Dispose()

    Releases data.

    Declaration
    public void Dispose()

    FindBone(int32 nodeIndex)

    Declaration
    public int32 FindBone(int32 nodeIndex) const
    Parameters
    int32 nodeIndex

    Returns
    int32

    FindNode(const StringView& name)

    Declaration
    public int32 FindNode(const StringView& name) const
    Parameters
    StringView name

    Returns
    int32

    GetMemoryUsage()

    Declaration
    public uint64 GetMemoryUsage() const
    Returns
    uint64

    GetNodeTransform(int32 nodeIndex)

    Declaration
    public Transform GetNodeTransform(int32 nodeIndex) const
    Parameters
    int32 nodeIndex

    Returns
    Transform

    RootNode()

    Gets the root node reference.

    Declaration
    public SkeletonNode RootNode()
    Returns
    SkeletonNode

    SetNodeTransform(int32 nodeIndex, const Transform& value)

    Declaration
    public void SetNodeTransform(int32 nodeIndex, const Transform& value)
    Parameters
    int32 nodeIndex

    Transform value

    Swap(SkeletonData& other)

    Swaps the contents of object with the other object without copy operation. Performs fast internal data exchange.

    Declaration
    public void Swap(SkeletonData& other)
    Parameters
    SkeletonData other

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