Api Sandbox MovieMaker Properties MovieBoneAnimatorSystem
class

MovieBoneAnimatorSystem

public sealed class MovieBoneAnimatorSystem : GameObjectSystem<T>

Coordinates playing bone animations from MoviePlayers. Holds a BoneAccessor for SkinnedModelRenderers in the scene, which store any movie-controlled bone transforms.

Constructors

MovieBoneAnimatorSystem(Scene scene)

Methods

Void UpdateBones()

Applies any active movie-driven bone transformations.

Void ClearBones(SkinnedModelRenderer renderer)

Clears all movie-driven bone transformations for the given .

Transform GetParentSpaceBone(SkinnedModelRenderer renderer, Int32 index)

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.

Void SetParentSpaceBone(SkinnedModelRenderer renderer, Int32 index, Transform transform)

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

Assembly: Sandbox.Engine Namespace: Sandbox.MovieMaker.Properties Full Name: Sandbox.MovieMaker.Properties.MovieBoneAnimatorSystem