s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
TrackBinder
chevron_left
Classes
class
TrackBinder
search
Constructors
functions
TrackBinder
Properties
data_object
Scene
Methods
functions
Add
functions
CreateTargets
functions
Deserialize
functions
DestroyTargets
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
13
Add
(
track
,
target
)
CreateTargets
(
clip
,
replace
,
rootParent
)
Creates any missing Sandbox.GameObjects or Sandbox.Components for the given
to target.
Deserialize
(
node
)
DestroyTargets
(
)
Destroy any instances created by Sandbox.MovieMaker.TrackBinder.CreateTargets(Sandbox.MovieMaker.IMovieClip,System.Boolean,Sandbox.GameObject).
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.