API ReferenceSandbox.MovieMaker.Properties

BoneAccessorclass

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`.

objectBoneAccessor
Namespace
Sandbox.MovieMaker.Properties
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.MovieMaker.Properties.BoneAccessor

Constructors1

Showing 1 constructors

Methods5

Showing 5 methods

public void ApplyOverrides()PUBLIC

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

Returns:void

public void ClearOverrides()PUBLIC

Clears any movie-driven bone transforms for this renderer.

Returns:void

public Transform GetParentSpace(int index)PUBLIC

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.

ParameterTypeDescription
indexint
Returns:Transform

public bool HasBone(string name)PUBLIC

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

ParameterTypeDescription
namestring
Returns:bool

public void SetParentSpace(int index, Transform value)PUBLIC

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

ParameterTypeDescription
indexint
valueTransform
Returns:void

Properties1

Showing 1 properties

On this page