public sealed class Sandbox.MovieMaker.TrackBinder
Controls which `Sandbox.MovieMaker.ITrackTarget`s from a scene are controlled by which `Sandbox.MovieMaker.ITrack` from a `Sandbox.MovieMaker.IMovieClip`. Can be serialized to save which tracks are bound to which targets.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
public TrackBinder(Sandbox.Scene scene = null)
Controls which `Sandbox.MovieMaker.ITrackTarget`s from a scene are controlled by which `Sandbox.MovieMaker.ITrack` from a `Sandbox.MovieMaker.IMovieClip`. Can be serialized to save which tracks are bound to which targets.
Parameters
scene: Default: null
No results match this filter.
Methods
Showing 19 methods
public void Add(Sandbox.MovieMaker.IReferenceTrack track, Sandbox.IValid target)
public virtual sealed void Deserialize(System.Text.Json.Nodes.JsonNode node)
public void DestroyTargets()
Destroy any instances created by `Sandbox.MovieMaker.TrackBinder.CreateTargets(Sandbox.MovieMaker.IMovieClip,System.Boolean,Sandbox.GameObject)`.
public System.Collections.Generic.IEnumerable`1<T> GetComponents(Sandbox.MovieMaker.IMovieClip clip)
Get all bound component references for tracks in the given `clip`.
Parameters
clip: Movie clip to find track bindings for.
public virtual sealed System.Collections.Generic.IEnumerator`1<System.Collections.Generic.KeyValuePair`2<System.Guid,Sandbox.IValid>> GetEnumerator()
public System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.ITrackProperty`1<T>> GetProperties(Sandbox.MovieMaker.IMovieClip clip)
Get all property targets for tracks in the given `clip`.
Parameters
clip: Movie clip to find track bindings for.
public System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.ITrackReference`1<T>> GetReferences(Sandbox.MovieMaker.IMovieClip clip)
Get all reference targets for tracks in the given `clip`.
Parameters
clip: Movie clip to find track bindings for.
public System.Nullable`1<System.Guid> GetTrackId(Sandbox.IValid gameObjectOrComponent)
public System.Collections.Generic.IEnumerable`1<System.Guid> GetTrackIds(Sandbox.IValid gameObjectOrComponent)
Finds track IDs currently explicitly bound to the given `gameObjectOrComponent`.
public virtual sealed System.Text.Json.Nodes.JsonNode Serialize()
No results match this filter.
Properties
Showing 2 properties
public static Sandbox.MovieMaker.TrackBinder Sandbox.MovieMaker.TrackBinder.Default { get; set; }
Gets the default binder for the active scene.
public Sandbox.Scene Sandbox.MovieMaker.TrackBinder.Scene { get; set; }
The scene this binder is targeting.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.MovieMaker |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.MovieMaker.TrackBinder |