s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Classes
TrackBinder
chevron_left
Classes
class
TrackBinder
Constructors
functions
TrackBinder
Properties
data_object
Scene
Methods
functions
Add
functions
CreateTargets
functions
Deserialize
functions
Get
functions
GetComponents
functions
GetEnumerator
functions
GetProperties
functions
GetReferences
functions
GetTrackId
functions
GetTrackIds
functions
Serialize
functions
TryGetBinding
Static Properties
data_object
Default
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.
class
Sandbox.MovieMaker
.
sealed
Sandbox.Engine
build
Constructors
1
TrackBinder
(
scene
)
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.
data_object
Properties
1
Scene
Scene
The scene this binder is targeting.
functions
Methods
12
Add
(
track
,
target
)
CreateTargets
(
clip
,
rootParent
)
IEnumerable`1
Creates any missing Sandbox.GameObjects or Sandbox.Components for the given
to target.
Deserialize
(
node
)
Get
(
track
)
ITrackTarget
Gets or creates a target that maps to the given
. The target might not be bound to anything in the scene yet, use Sandbox.MovieMaker.ITrackTarget.IsBound to check.
GetComponents
(
clip
)
IEnumerable`1
Get all bound component references for tracks in the given
.
GetEnumerator
(
)
IEnumerator`1
GetProperties
(
clip
)
IEnumerable`1
Get all property targets for tracks in the given
.
GetReferences
(
clip
)
IEnumerable`1
Get all reference targets for tracks in the given
.
GetTrackId
(
gameObjectOrComponent
)
Nullable`1
GetTrackIds
(
gameObjectOrComponent
)
IEnumerable`1
Finds track IDs currently explicitly bound to the given
.
Serialize
(
)
JsonNode
TryGetBinding
(
trackId
,
target
)
bool
Returns true if there's an existing mapping for the given
, and outputs that mapping as
. Note that
is a valid binding, to force a track to map to nothing.
data_object
Static Properties
1
Default
TrackBinder
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.