TrackBinderclass
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.
Constructors1
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.
| Parameter | Type | Description |
|---|---|---|
| scene = null | Scene | — |
No results match this filter.
Methods18
Showing 18 methods
public void Add(Sandbox.MovieMaker.IReferenceTrack track, Sandbox.IValid target)
| Parameter | Type | Description |
|---|---|---|
| track | IReferenceTrack | — |
| target | IValid | — |
void—public virtual sealed void Deserialize(System.Text.Json.Nodes.JsonNode node)
| Parameter | Type | Description |
|---|---|---|
| node | JsonNode | — |
void—public System.Collections.Generic.IEnumerable`1<T> GetComponents(Sandbox.MovieMaker.IMovieClip clip)
Get all bound component references for tracks in the given `clip`.
| Parameter | Type | Description |
|---|---|---|
| clip | IMovieClip | Movie clip to find track bindings for. |
IEnumerable<T>—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`.
| Parameter | Type | Description |
|---|---|---|
| clip | IMovieClip | 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`.
| Parameter | Type | Description |
|---|---|---|
| clip | IMovieClip | Movie clip to find track bindings for. |
public System.Nullable`1<System.Guid> GetTrackId(Sandbox.IValid gameObjectOrComponent)
| Parameter | Type | Description |
|---|---|---|
| gameObjectOrComponent | IValid | — |
Nullable<Guid>—public System.Collections.Generic.IEnumerable`1<System.Guid> GetTrackIds(Sandbox.IValid gameObjectOrComponent)
Finds track IDs currently explicitly bound to the given `gameObjectOrComponent`.
| Parameter | Type | Description |
|---|---|---|
| gameObjectOrComponent | IValid | — |
IEnumerable<Guid>—public virtual sealed System.Text.Json.Nodes.JsonNode Serialize()
JsonNode—No results match this filter.
Properties2
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.