# new Particle()
- Source:
Members
# age :number
- Source:
Type:
- number
# (nullable) angularVelocity :clay.Vector3
- Source:
Type:
# emitter :clay.particle.Emitter
- Source:
Type:
# life :number
- Source:
Type:
- number
# position :clay.Vector3
- Source:
Type:
# rotation :clay.Vector3
- Source:
Use euler angle to represent particle rotation
Type:
# spriteSize :number
- Source:
Type:
- number
# (nullable) velocity :clay.Vector3
- Source:
Type:
# weight :number
- Source:
Type:
- number
Methods
# update(deltaTime)
- Source:
Update particle position
Parameters:
Name | Type | Description |
---|---|---|
deltaTime |
number |