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
AnimationBuilder
chevron_left
Classes
class
AnimationBuilder
search
Properties
data_object
Delta
data_object
DisableInterpolation
data_object
FrameCount
data_object
FrameRate
data_object
Looping
data_object
Name
Methods
functions
AddFrame
functions
WithDelta
functions
WithFrameRate
functions
WithInterpolationDisabled
functions
WithLooping
functions
WithName
AnimationBuilder
Provides ability to generate animations for a Sandbox.Model at runtime. See Sandbox.ModelBuilder.AddAnimation(System.String,System.Single)
class
Sandbox
.
sealed
Sandbox.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.