Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SkeletonUpdater Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    Performs hierarchical updates for a given Model.

    System.Object → SkeletonUpdater
    Derived from SkeletonUpdater:

    [DataContract]
    public class SkeletonUpdater
    Name Description
    Constructors
    SkeletonUpdater(Skeleton)

    Initializes a new instance of the SkeletonUpdater class.

    Properties
    Nodes
    NodeTransformations
    Methods
    GetLocalMatrix(Int32, out Matrix)
    GetWorldMatrix(Int32, out Matrix)
    Initialize(Skeleton)
    ResetInitialValues()

    Resets initial values.

    UpdateMatrices()

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

    | Improve this Doc View Source

    Constructors


    SkeletonUpdater(Skeleton)

    Initializes a new instance of the SkeletonUpdater class.

    public SkeletonUpdater(Skeleton skeleton)
    Parameters
    Type Name Description
    Skeleton skeleton

    The skeleton.

    | Improve this Doc View Source

    Properties


    Nodes

    public ModelNodeDefinition[] Nodes { get; }
    Property Value
    Type Description
    ModelNodeDefinition[]

    NodeTransformations

    public ModelNodeTransformation[] NodeTransformations { get; }
    Property Value
    Type Description
    ModelNodeTransformation[]
    | Improve this Doc View Source

    Methods


    GetLocalMatrix(Int32, out Matrix)

    public void GetLocalMatrix(int index, out Matrix matrix)
    Parameters
    Type Name Description
    System.Int32 index
    Matrix matrix

    GetWorldMatrix(Int32, out Matrix)

    public void GetWorldMatrix(int index, out Matrix matrix)
    Parameters
    Type Name Description
    System.Int32 index
    Matrix matrix

    Initialize(Skeleton)

    public void Initialize(Skeleton skeleton)
    Parameters
    Type Name Description
    Skeleton skeleton

    ResetInitialValues()

    Resets initial values.

    public void ResetInitialValues()

    UpdateMatrices()

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

    public void UpdateMatrices()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation