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
Animation
chevron_left
Classes
class
Animation
search
Constructors
functions
Animation
Properties
data_object
FrameRate
data_object
Frames
data_object
IsAnimated
data_object
LoopMode
data_object
Name
data_object
Origin
Animation
Contains one or multiple frames that can be played in sequence.
class
Sandbox.Sprite
.
Sandbox.Engine
build
Constructors
1
Animation
(
)
data_object
Properties
6
FrameRate
float
The speed of the animation in frames per second.
Frames
List`1
A list of frames that make up the animation. Each frame is a texture that will be displayed in sequence.
IsAnimated
bool
True if we have more than one frame
LoopMode
LoopMode
The loop mode of the animation. This determines what should happen when the animation reaches the final frame in playback.
Name
string
The name of the animation. Allows you to play specific animations by name.
Origin
Vector2
The point at which the rendered sprite is anchored from. This means scaling/rotating a sprite will do so around the origin.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.