s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
StateMachineBuilder
chevron_left
Classes
class
StateMachineBuilder
Methods
functions
AddOffState
functions
AddState
functions
AddTransition
functions
Build
functions
Completed
functions
CreateTransition
functions
SetDefaultState
functions
SetEntryCondition
functions
TimeCondition
Static Fields
crop_din
MaxStates
StateMachineBuilder
A state machine being built, created by Sandbox.Animation.GraphBuilder.StateMachine.
class
Sandbox.Animation.GraphBuilder
.
sealed
Sandbox.Engine
functions
Methods
9
AddOffState
(
entryEvents
,
exitEvents
,
fullyInStateEvents
)
State
AddState
(
child
,
entryEvents
,
exitEvents
,
fullyInStateEvents
)
State
AddTransition
(
from
,
to
,
condition
,
settings
)
Node
Add a transition between two states, taken when
is true.
Build
(
)
Node
Completed
(
state
,
transitionDuration
)
Node
A condition that is true when
has nearly played through - within
seconds of its end.
CreateTransition
(
target
,
settings
)
Node
Create a transition node without adding a route, allowing it to be shared by multiple source states.
SetDefaultState
(
state
)
SetEntryCondition
(
state
,
condition
)
TimeCondition
(
state
,
settings
)
Node
crop_din
Static Fields
1
MaxStates
int
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.