The ParticleComponent allows you to create particle effects in a 3D scene.
Description
The ParticleComponent
allows you to create particle effects in a 3D scene, using a CPUparticles
node with SphereMesh
.
Usage
- Attach the component to a game entity.
- Adjust the properties to customize the appearance and behavior of the particle system.
Dependencies
Requires the Anitya server for downloading and saving material assets.
Properties
amount
- Type:
INT
- Description: Represents the number of particles emitted per frame.
size
- Type:
FLOATING
- Description: Represents the size of the particles.
spread
- Type:
FLOATING
- Description: Represents the spread of the particles.
speed
- Type:
FLOATING
- Description: Represents the speed of the particles.
lifetime
- Type:
FLOATING
- Description: Represents the lifetime of the particles.
gravity
- Type:
VECTOR3
- Description: Represents the gravitational force affecting the particles.
type
- Type:
INT
- Description: Represents the emission shape type of the particles.
color
- Type:
COLOR
- Description: Represents the color of the particles.
material
(Disabled)
- Type:
ASSET_REF
- Description: Represents the material asset used to render the particles.