Search Results for

    Show / Hide Table of Contents

    Class SkeletonUpdater

    Performs hierarchical updates for skeleton nodes.

    Inheritance
    SkeletonUpdater
    Inherited Members
    SkeletonUpdater
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Models/SkeletonUpdater.h
    Syntax
    public class SkeletonUpdater<T>
    Type Parameters
    typename T

    Constructors

    SkeletonUpdater(const Items& skeleton)

    Initializes a new instance of the SkeletonUpdater class.

    Declaration
    public SkeletonUpdater(const Items& skeleton)
    Parameters
    Items skeleton

    The skeleton.

    Fields

    NodeTransformations

    The cached node transformations.

    Declaration
    public Array<Node> NodeTransformations
    Field Value
    Array<Node>

    Methods

    CombineMatricesFromNodeIndices(int32 rootIndex, int32 index)

    Gets the transformation matrix to go from rootIndex to index.

    Declaration
    public Matrix CombineMatricesFromNodeIndices(int32 rootIndex, int32 index)
    Parameters
    int32 rootIndex

    The root index.

    int32 index

    The current index.

    Returns
    Matrix

    The matrix at this index.

    GetDefaultNode()

    Gets the default root node.

    Declaration
    public static Node GetDefaultNode()
    Returns
    Node

    The node.

    GetLocalMatrix(int32 index, Matrix* matrix)

    Gets the local matrix of the node.

    Declaration
    public void GetLocalMatrix(int32 index, Matrix* matrix)
    Parameters
    int32 index

    The node index.

    Matrix matrix

    The result matrix.

    Returns
    void

    GetWorldMatrix(int32 index, Matrix* matrix)

    Gets the world matrix of the node.

    Declaration
    public void GetWorldMatrix(int32 index, Matrix* matrix)
    Parameters
    int32 index

    The node index.

    Matrix matrix

    The result matrix.

    Returns
    void

    Initialize(const Items& skeleton)

    Initializes the updater using the specified skeleton.

    Declaration
    public void Initialize(const Items& skeleton)
    Parameters
    Items skeleton

    The skeleton.

    UpdateMatrices()

    For each node, updates the world matrices from local matrices.

    Declaration
    public void UpdateMatrices()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat