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
SpriteComponentData
Class SpriteComponentData
Hierarchy
SpriteComponentData
AnimatedSpriteComponentData
Implements
IComponentData
Index
Constructors
constructor
Properties
height
material
Name
name
origin
width
Methods
set
From
Json
Constructors
constructor
new
Sprite
Component
Data
(
json
:
any
)
:
SpriteComponentData
Class constructor
Parameters
json:
any
Returns
SpriteComponentData
Properties
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
Sprite
Component
Data
constructor
height
material
Name
name
origin
width
set
From
Json
Generated using
TypeDoc
Class constructor