s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter