Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
particle2d
Point
Class Point
Hierarchy
Point
Index
Constructors
constructor
Properties
dir
distance
point
time
Methods
set
Dir
set
Point
Constructors
constructor
new
Point
(
point
?:
Vec2
, dir
?:
Vec2
)
:
Point
Parameters
Optional
point:
Vec2
Optional
dir:
Vec2
Returns
Point
Properties
dir
dir
:
Vec2
= new Vec2()
distance
distance
:
number
= 0
point
point
:
Vec2
= new Vec2()
time
time
:
number
= 0
Methods
set
Dir
set
Dir
(
x
:
any
, y
:
any
)
:
void
Parameters
x:
any
y:
any
Returns
void
set
Point
set
Point
(
x
:
any
, y
:
any
)
:
void
Parameters
x:
any
y:
any
Returns
void
Globals
particle2d
Image
Format
Motion
Streak
PNGReader
Particle
Particle
Pool
Particle
System2D
Point
constructor
dir
distance
point
time
set
Dir
set
Point
Simulator
Tiff
Reader
IFile
ISample
Property
DURATION_
INFINITY
Emitter
Mode
Position
Type
START_
RADIUS_
EQUAL_
TO_
END_
RADIUS
START_
SIZE_
EQUAL_
TO_
END_
SIZE
ZERO_
VEC2
_normal
_pos
_tangent
_tpa
_tpb
_tpc
_vec2
format
Bytes
pool
compute
Miter
get
Image
Format
ByData
get
Particle
Components
get
World
Rotation
normal
Motion
Streak
Assembler
Motion
Streak
Assembler
Manager
Particle
Assembler
Particle
System2DAssembler
field
Tag
Names
field
Type
Names
Generated using
TypeDoc