s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
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
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.