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
gamejams
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
Get s&box
Sign in with Steam
Api
Classes
GraphParameters
chevron_left Classes
class
GraphParameters

Properties

data_objectGraph

Methods

functionsClearfunctionsContainsfunctionsGetBoolfunctionsGetFloatfunctionsGetStringfunctionsGetVectorfunctionsResetfunctionsSetfunctionsSetTargetBonefunctionsTryGetBoolfunctionsTryGetFloatfunctionsTryGetIdfunctionsTryGetKindfunctionsTryGetStringfunctionsTryGetTargetTransformfunctionsTryGetVectorfunctionsTrySetfunctionsTrySetTargetBonefunctionsTryUnsetTargetfunctionsUnsetTarget
GraphParameters
Animation graph parameter access. Writes affect the live instance unless explicitly persisted. Inspector values are saved with the owner and reapplied when its instance is recreated.
class Sandbox.Animation .
sealedSandbox.Engine

data_object Properties 1

Graph
Graph

functions Methods 20

Clear ()
Clears saved values and resets the live parameters to their authored defaults.
Contains (name)
bool
Whether this parameter has a saved value.
GetBool (name)
bool
GetFloat (name)
float
GetString (name)
string
GetVector (name)
Vector3
Reset ()
Resets this graph's control parameters to their authored defaults.
Set (name, value, persist)
Sets a live value, or saves and reapplies it across instance recreation when is true.
SetTargetBone (name, bone, persist)
TryGetBool (name, value)
bool
TryGetFloat (name, value)
bool
TryGetId (name, value)
bool
TryGetKind (name, kind)
bool
TryGetString (name, value)
bool
Reads an ID's source text. Returns false if the token has no known source string.
TryGetTargetTransform (name, value)
bool
Reads a transform target. Unset targets and bone targets return false.
TryGetVector (name, value)
bool
TrySet (name, value)
bool
TrySetTargetBone (name, bone)
bool
TryUnsetTarget (name)
bool
UnsetTarget (name, persist)
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