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
AnimationBuilder
chevron_left Classes
class
AnimationBuilder

Properties

data_objectDeltadata_objectDisableInterpolationdata_objectFrameCountdata_objectFrameRatedata_objectLoopingdata_objectName

Methods

functionsAddFramefunctionsWithDeltafunctionsWithFrameRatefunctionsWithInterpolationDisabledfunctionsWithLoopingfunctionsWithName
AnimationBuilder
Provides ability to generate animations for a Sandbox.Model at runtime. See Sandbox.ModelBuilder.AddAnimation(System.String,System.Single)
class Sandbox .
sealedSandbox.Engine

data_object Properties 6

Delta
bool
This animation "adds" to the base result.
DisableInterpolation
bool
This animation disables interpolation between frames.
FrameCount
int
The number of frames in the animation.
FrameRate
float
The frames per second of the animation.
Looping
bool
This animation loops.
Name
string
The name of the animation.

functions Methods 6

AddFrame (boneTransforms)
AnimationBuilder
WithDelta (delta)
AnimationBuilder
Sets whether the animation adds to the base result.
WithFrameRate (frameRate)
AnimationBuilder
Sets the frames per second of the animation.
WithInterpolationDisabled (disableInterpolation)
AnimationBuilder
Sets whether interpolation between frames is disabled.
WithLooping (looping)
AnimationBuilder
Sets whether the animation loops.
WithName (name)
AnimationBuilder
Sets the name of the animation.
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