s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
AnimGraphDirectPlayback
chevron_left Classes
class
AnimGraphDirectPlayback

Constructors

lockAnimGraphDirectPlayback

Properties

remove_circleAnimationCountremove_circleAnimationsdata_objectDurationdata_objectNamedata_objectSequencesdata_objectStartTimedata_objectTimedata_objectTimeNormalized

Methods

functionsCancelfunctionsPlay
AnimGraphDirectPlayback
For communicating with a Direct Playback Anim Node, which allows code to tell it to play a given sequence
class Sandbox .
abstractSandbox.Engine

build Constructors 1

AnimGraphDirectPlayback ()

data_object Properties 8

AnimationCount
obsoleteint
Get the number of animations that can be used.
Animations
obsoleteIEnumerable`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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter