Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
particle
b2ParticleGroup
Class b2ParticleGroup
Hierarchy
b2ParticleGroup
Index
Constructors
constructor
Properties
m_
angular
Velocity
m_
center
m_
first
Index
m_
group
Flags
m_
inertia
m_
last
Index
m_
linear
Velocity
m_
mass
m_
next
m_
prev
m_
strength
m_
system
m_
timestamp
m_
transform
m_
user
Data
Get
Linear
Velocity
From
World
Point_
s_t0
Methods
Apply
Force
Apply
Linear
Impulse
Contains
Particle
Destroy
Particles
Get
All
Particle
Flags
Get
Angle
Get
Angular
Velocity
Get
Buffer
Index
Get
Center
Get
Group
Flags
Get
Inertia
Get
Linear
Velocity
Get
Linear
Velocity
From
World
Point
Get
Mass
Get
Next
Get
Particle
Count
Get
Particle
System
Get
Position
Get
Transform
Get
User
Data
Set
Group
Flags
Set
User
Data
Update
Statistics
Constructors
constructor
newb2
Particle
Group
(
system
:
b2ParticleSystem
)
:
b2ParticleGroup
Parameters
system:
b2ParticleSystem
Returns
b2ParticleGroup
Properties
m_
angular
Velocity
m_
angular
Velocity
:
number
= 0
Readonly
m_
center
m_
center
:
b2Vec2
= new b2Vec2()
m_
first
Index
m_
first
Index
:
number
= 0
m_
group
Flags
m_
group
Flags
:
b2ParticleGroupFlag
= 0
m_
inertia
m_
inertia
:
number
= 0
m_
last
Index
m_
last
Index
:
number
= 0
Readonly
m_
linear
Velocity
m_
linear
Velocity
:
b2Vec2
= new b2Vec2()
m_
mass
m_
mass
:
number
= 0
m_
next
m_
next
:
b2ParticleGroup
|
null
= null
m_
prev
m_
prev
:
b2ParticleGroup
|
null
= null
m_
strength
m_
strength
:
number
= 1
Readonly
m_
system
m_
system
:
b2ParticleSystem
m_
timestamp
m_
timestamp
:
number
= -1
Readonly
m_
transform
m_
transform
:
b2Transform
= new b2Transform()
m_
user
Data
m_
user
Data
:
any
= null
Static
Readonly
Get
Linear
Velocity
From
World
Point_
s_t0
Get
Linear
Velocity
From
World
Point_
s_t0
:
b2Vec2
= new b2Vec2()
Methods
Apply
Force
Apply
Force
(
force
:
XY
)
:
void
Parameters
force:
XY
Returns
void
Apply
Linear
Impulse
Apply
Linear
Impulse
(
impulse
:
XY
)
:
void
Parameters
impulse:
XY
Returns
void
Contains
Particle
Contains
Particle
(
index
:
number
)
:
boolean
Parameters
index:
number
Returns
boolean
Destroy
Particles
Destroy
Particles
(
callDestructionListener
:
boolean
)
:
void
Parameters
callDestructionListener:
boolean
Returns
void
Get
All
Particle
Flags
Get
All
Particle
Flags
(
)
:
b2ParticleFlag
Returns
b2ParticleFlag
Get
Angle
Get
Angle
(
)
:
number
Returns
number
Get
Angular
Velocity
Get
Angular
Velocity
(
)
:
number
Returns
number
Get
Buffer
Index
Get
Buffer
Index
(
)
:
number
Returns
number
Get
Center
Get
Center
(
)
:
Readonly
<
b2Vec2
>
Returns
Readonly
<
b2Vec2
>
Get
Group
Flags
Get
Group
Flags
(
)
:
b2ParticleGroupFlag
Returns
b2ParticleGroupFlag
Get
Inertia
Get
Inertia
(
)
:
number
Returns
number
Get
Linear
Velocity
Get
Linear
Velocity
(
)
:
Readonly
<
b2Vec2
>
Returns
Readonly
<
b2Vec2
>
Get
Linear
Velocity
From
World
Point
Get
Linear
Velocity
From
World
Point<T>
(
worldPoint
:
XY
, out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
worldPoint:
XY
out:
T
Returns
T
Get
Mass
Get
Mass
(
)
:
number
Returns
number
Get
Next
Get
Next
(
)
:
b2ParticleGroup
|
null
Returns
b2ParticleGroup
|
null
Get
Particle
Count
Get
Particle
Count
(
)
:
number
Returns
number
Get
Particle
System
Get
Particle
System
(
)
:
b2ParticleSystem
Returns
b2ParticleSystem
Get
Position
Get
Position
(
)
:
Readonly
<
b2Vec2
>
Returns
Readonly
<
b2Vec2
>
Get
Transform
Get
Transform
(
)
:
Readonly
<
b2Transform
>
Returns
Readonly
<
b2Transform
>
Get
User
Data
Get
User
Data
(
)
:
void
Returns
void
Set
Group
Flags
Set
Group
Flags
(
flags
:
number
)
:
void
Parameters
flags:
number
Returns
void
Set
User
Data
Set
User
Data
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
Update
Statistics
Update
Statistics
(
)
:
void
Returns
void
Globals
node_
modules\@cocos\box2d\src\particle
b2
Particle
Group
constructor
m_
angular
Velocity
m_
center
m_
first
Index
m_
group
Flags
m_
inertia
m_
last
Index
m_
linear
Velocity
m_
mass
m_
next
m_
prev
m_
strength
m_
system
m_
timestamp
m_
transform
m_
user
Data
Get
Linear
Velocity
From
World
Point_
s_t0
Apply
Force
Apply
Linear
Impulse
Contains
Particle
Destroy
Particles
Get
All
Particle
Flags
Get
Angle
Get
Angular
Velocity
Get
Buffer
Index
Get
Center
Get
Group
Flags
Get
Inertia
Get
Linear
Velocity
Get
Linear
Velocity
From
World
Point
Get
Mass
Get
Next
Get
Particle
Count
Get
Particle
System
Get
Position
Get
Transform
Get
User
Data
Set
Group
Flags
Set
User
Data
Update
Statistics
Generated using
TypeDoc