Summary

Controls which MovieMaker.ITrackTargets from a scene are controlled by which MovieMaker.ITrack from a MovieMaker.IMovieClip. Can be serialized to save which tracks are bound to which targets.

Constructors

TrackBinder Controls which Sandbox.MovieMaker.ITrackTargets 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.

Properties

Scene The scene this binder is targeting.

Methods

Add
CreateTargets Creates any missing Sandbox.GameObjects or Sandbox.Components for the given <paramref name="clip" /> to target.
Deserialize
DestroyTargets Destroy any instances created by Sandbox.MovieMaker.TrackBinder.CreateTargets(Sandbox.MovieMaker.IMovieClip,System.Boolean,Sandbox.GameObject).
Get Gets or creates a target that maps to the given <paramref name="track" />. The target might not be bound to anything in the scene yet, use Sandbox.MovieMaker.ITrackTarget.IsBound to check.
GetComponents Get all bound component references for tracks in the given <paramref name="clip" />.
GetEnumerator
GetProperties Get all property targets for tracks in the given <paramref name="clip" />.
GetReferences Get all reference targets for tracks in the given <paramref name="clip" />.
GetTrackId
GetTrackIds Finds track IDs currently explicitly bound to the given <paramref name="gameObjectOrComponent" />.
Serialize
TryGetBinding Returns true if there's an existing mapping for the given <paramref name="trackId" />, and outputs that mapping as <paramref name="target" />. Note that <see langword="null" /> is a valid binding, to force a track to map to nothing.

Static Properties

Default Gets the default binder for the active scene.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.