API ReferenceSandbox.MovieMaker.Properties

MovieBoneAnimatorSystemclass

Coordinates playing bone animations from `Sandbox.MovieMaker.MoviePlayer`s. Holds a `Sandbox.MovieMaker.Properties.BoneAccessor` for `Sandbox.SkinnedModelRenderer`s in the scene, which store any movie-controlled bone transforms.

objectGameObjectSystem<T>MovieBoneAnimatorSystem
Namespace
Sandbox.MovieMaker.Properties
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.MovieMaker.Properties.MovieBoneAnimatorSystem : Sandbox.GameObjectSystem<T>

Constructors1

Showing 1 constructors

Methods4

Showing 4 methods

public void ClearBones(Sandbox.SkinnedModelRenderer renderer)PUBLIC

Clears all movie-driven bone transformations for the given `renderer`.

ParameterTypeDescription
rendererSkinnedModelRenderer
Returns:void

public Transform GetParentSpaceBone(Sandbox.SkinnedModelRenderer renderer, int index)PUBLIC

Gets the current movie-driven parent-space transform for the given bone. If this bone isn't currently being controlled by a movie, returns its current transform.

ParameterTypeDescription
rendererSkinnedModelRenderer
indexint
Returns:Transform

public void UpdateBones()PUBLICPER-FRAME

Applies any active movie-driven bone transformations.

Returns:void

On this page