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
public BoneAccessor(Sandbox.SkinnedModelRenderer renderer)
No results match this filter.
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.
No results match this filter.
Properties
Showing 1 properties
public Sandbox.SkinnedModelRenderer Sandbox.MovieMaker.Properties.BoneAccessor.Renderer { get; set; }
Renderer this accessor was created for.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.MovieMaker.Properties |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.MovieMaker.Properties.BoneAccessor |