s&box docs
API ReferenceSandbox.MovieMaker.Properties

public sealed class Sandbox.MovieMaker.Properties.BoneAccessor

Pseudo-property on a `Sandbox.SkinnedModelRenderer` that has a sub-property for each bone. Stores movie-driven transforms for each bone during playback, and applies them when `Sandbox.MovieMaker.Properties.MovieBoneAnimatorSystem` performs `Sandbox.GameObjectSystem.Stage.UpdateBones`.

Constructors

Showing 1 constructors

Methods

Showing 5 methods

public void ApplyOverrides()

Applies any movie-driven bone transforms. Called during `Sandbox.GameObjectSystem.Stage.UpdateBones`.

public void ClearOverrides()

Clears any movie-driven bone transforms for this renderer.

public Transform GetParentSpace(int index)

Gets the current movie-driven parent-space transform of the given bone. If the bone isn't controlled by a movie, just returns the current parent-space transform.

public bool HasBone(string name)

Helper to see if the renderer's model has a bone with the given `name`.

public void SetParentSpace(int index, Transform value)

Sets the current movie-driven parent-space transform of the given bone.

Properties

Showing 1 properties

Metadata

FieldValue
NamespaceSandbox.MovieMaker.Properties
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.MovieMaker.Properties.BoneAccessor

On this page