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
AnimGraphDirectPlayback
chevron_left
Classes
class
AnimGraphDirectPlayback
search
Constructors
lock
AnimGraphDirectPlayback
Properties
remove_circle
AnimationCount
remove_circle
Animations
data_object
Duration
data_object
Name
data_object
Sequences
data_object
StartTime
data_object
Time
data_object
TimeNormalized
Methods
functions
Cancel
functions
Play
AnimGraphDirectPlayback
For communicating with a Direct Playback Anim Node, which allows code to tell it to play a given sequence
class
Sandbox
.
abstract
Sandbox.Engine
build
Constructors
1
AnimGraphDirectPlayback
(
)
data_object
Properties
8
AnimationCount
obsolete
int
Get the number of animations that can be used.
Animations
obsolete
IEnumerable`1
Get the list of animations that can be used.
Duration
float
The duration of the currently playing sequence (seconds)
Name
string
Returns the currently playing sequence.
Sequences
IReadOnlyList`1
Get the list of sequences that can be used.
StartTime
float
Set the time at which the currently playing sequence should have had a cycle of zero. This will adjust the current cycle of the sequence to match.
Time
float
The elapsed time of the currently playing animation sequence (seconds)
TimeNormalized
float
Get the cycle of the currently playing sequence. Will return 0 if no sequence is playing.
functions
Methods
2
Cancel
(
)
Stop playing the override sequence.
Play
(
name
)
Play the given sequence until it ends, then blend back. Calling this function with a new sequence while another one is playing will immediately start blending from the old one to the new one.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.