Search
Preparing search index...
The search index is not available
Divine Engine API
Options
All
Public
Public/Protected
All
Inherited
Menu
Divine Engine API
components
AnimatedSpriteComponentData
Class AnimatedSpriteComponentData
Hierarchy
SpriteComponentData
AnimatedSpriteComponentData
Implements
IComponentData
Index
Constructors
constructor
Properties
auto
Play
frame
Count
frame
Height
frame
Sequence
frame
Width
height
material
Name
name
origin
width
Methods
set
From
Json
Constructors
constructor
new
Animated
Sprite
Component
Data
(
json
:
any
)
:
AnimatedSpriteComponentData
Class constructor
Parameters
json:
any
Returns
AnimatedSpriteComponentData
Properties
auto
Play
auto
Play
:
boolean
= true
frame
Count
frame
Count
:
number
frame
Height
frame
Height
:
number
frame
Sequence
frame
Sequence
:
number
[]
frame
Width
frame
Width
:
number
height
height
:
number
material
Name
material
Name
:
string
name
name
:
string
origin
origin
:
Vector3
= ...
width
width
:
number
Methods
set
From
Json
set
From
Json
(
json
:
any
)
:
void
Builds the component from JSON.
Parameters
json:
any
Returns
void
IComponent
Modules
assets
behaviours
components
core
helper
index
inputsystem
math
physicssystem
rendersystem
scene
soundsystem
zones
Animated
Sprite
Component
Data
constructor
auto
Play
frame
Count
frame
Height
frame
Sequence
frame
Width
height
material
Name
name
origin
width
set
From
Json
Generated using
TypeDoc
Class constructor