Table of Contents

Class SkeletonUpdater

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

Performs hierarchical updates for a given Model.

[DataContract]
public class SkeletonUpdater
Inheritance
SkeletonUpdater

Constructors

SkeletonUpdater(Skeleton)

Initializes a new instance of the SkeletonUpdater class.

public SkeletonUpdater(Skeleton skeleton)

Parameters

skeleton Skeleton

The skeleton.

Properties

NodeTransformations

[DataMember]
public ModelNodeTransformation[] NodeTransformations { get; }

Property Value

ModelNodeTransformation[]

Nodes

[DataMember]
public ModelNodeDefinition[] Nodes { get; }

Property Value

ModelNodeDefinition[]

Methods

GetLocalMatrix(int, out Matrix)

public void GetLocalMatrix(int index, out Matrix matrix)

Parameters

index int
matrix Matrix

GetWorldMatrix(int, out Matrix)

public void GetWorldMatrix(int index, out Matrix matrix)

Parameters

index int
matrix Matrix

Initialize(Skeleton)

public void Initialize(Skeleton skeleton)

Parameters

skeleton Skeleton

ResetInitialValues()

Resets initial values.

public void ResetInitialValues()

UpdateMatrices()

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

public void UpdateMatrices()