Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
Particle
ParticleEmitterShape
ParticleBoxShape
Class ParticleBoxShape
盒形发射器。
Hierarchy
ParticleShape
ParticleBoxShape
Index
Constructors
constructor
Properties
Arc
Mode
Accessors
emit
From
scale
Methods
Get
Shape
Default
Offset
Map
Constructors
constructor
new
Particle
Box
Shape
(
particle
:
Particle
, offsetMap
:
IParticleEmitterShapeOffsetMap
)
:
ParticleBoxShape
Parameters
particle:
Particle
offsetMap:
IParticleEmitterShapeOffsetMap
Returns
ParticleBoxShape
Properties
Static
Arc
Mode
Arc
Mode
:
typeof
ArcMode
= ...
Accessors
emit
From
get
emitFrom
(
)
:
EmitFromBox
set
emitFrom
(
val
:
EmitFromBox
)
:
void
粒子从盒子的哪个位置喷射。
memberof
ParticleBoxShape
Returns
EmitFromBox
粒子从盒子的哪个位置喷射。
Parameters
val:
EmitFromBox
Returns
void
scale
get
scale
(
)
:
Vector3
set
scale
(
val
:
Vector3
)
:
void
发射器形状的缩放。(仅在BoxShape中有效)
memberof
ParticleShape
Returns
Vector3
发射器形状的缩放。(仅在BoxShape中有效)
Parameters
val:
Vector3
Returns
void
Methods
Static
Get
Shape
Default
Offset
Map
Get
Shape
Default
Offset
Map
(
)
:
{
position
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
;
rotation
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
;
scale
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
}
Returns
{
position
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
;
rotation
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
;
scale
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
}
position
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
raw
Data
Offset
:
number
real
Buffer
:
Float32Array
type
:
string
rotation
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
raw
Data
Offset
:
number
real
Buffer
:
Float32Array
type
:
string
scale
:
{
rawDataOffset
:
number
;
realBuffer
:
Float32Array
;
type
:
string
}
raw
Data
Offset
:
number
real
Buffer
:
Float32Array
type
:
string
Exports
Particle
Advanced
Property
Particle
Color
ByLife
Particle
Common
Particle
Emitter
Particle
Emitter
Shape
Particle
Box
Shape
Particle
Circle
Shape
Particle
Cone
Shape
Particle
Hemi
Sphere
Shape
Particle
Sphere
Shape
Particle
Renderer
Particle
Rotation
ByLife
Particle
Size
ByLife
Particle
Speed
ByLife
Particle
Speed
Limit
ByLife
Particle
Texture
Sheet
Animation
Particle
Box
Shape
constructor
Arc
Mode
emit
From
scale
Get
Shape
Default
Offset
Map
Particle
Circle
Shape
Particle
Cone
Shape
Particle
Hemi
Sphere
Shape
Particle
Sphere
Shape
Generated using
TypeDoc
盒形发射器。