Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
Particle
Class Particle
See
Flignov
Hierarchy
Particle
Index
Constructors
constructor
Properties
age
anim
Frames
anim
Speed
anim
Time
blend
Mode
collision
Radius
energy
is
Dead
last
Position
lifetime
mass
mix
Color
position
rot
Velocity
rotation
scale
sort
Value
sprite
velocity
Methods
get
Inertia
reset
Constructors
constructor
new
Particle
(
)
:
Particle
Returns
Particle
Properties
age
age
:
number
= 0
anim
Frames
anim
Frames
:
SpriteSheetFrame
[]
= null
anim
Speed
anim
Speed
:
number
= 1
anim
Time
anim
Time
:
number
= 0
blend
Mode
blend
Mode
:
BlendMode
= BlendMode.BM_NORMAL
collision
Radius
collision
Radius
:
number
= 1
energy
energy
:
number
= 1
is
Dead
is
Dead
:
boolean
= false
last
Position
last
Position
:
Point
lifetime
lifetime
:
number
= 0
mass
mass
:
number
= 1
Readonly
mix
Color
mix
Color
:
Color
= ...
position
position
:
Point
rot
Velocity
rot
Velocity
:
number
= 0
rotation
rotation
:
number
= 0
scale
scale
:
Point
sort
Value
sort
Value
:
number
= 0
sprite
sprite
:
any
= null
velocity
velocity
:
Point
Methods
get
Inertia
get
Inertia
(
)
:
number
Returns
number
reset
reset
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
Particle
constructor
age
anim
Frames
anim
Speed
anim
Time
blend
Mode
collision
Radius
energy
is
Dead
last
Position
lifetime
mass
mix
Color
position
rot
Velocity
rotation
scale
sort
Value
sprite
velocity
get
Inertia
reset
Generated using
TypeDoc
See
Flignov