new SphereEmitter(radius)
A ParticleEmitter that emits particles within a sphere. Particles will be positioned randomly within the sphere and have initial velocities emanating from the center of the sphere.
| Name | Type | Default | Description |
|---|---|---|---|
radius |
Number | 1.0 |
可选
The radius of the sphere in meters. |
Members
-
radiusNumber
-
The radius of the sphere in meters.
- Default Value: 1.0