DustComponentData interface
Data specification for DustComponent, see ComponentManager.create() on how to create a component
Signature:
export interface DustComponentData extends Component3DData
Extends: Component3DData
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
null |
(Optional) Condition for the dust to spawn. Defaults to null | ||
number |
(Optional) Speed at which the dust will disappear. Defaults to 1.5 | ||
string |
(Optional) if not provided, an auto id will be generated | ||
string |
(Optional) name for the component. Defaults to "" | ||
number |
(Optional) Randomness of the dust spawn position. Defaults to 0.9 | ||
number |
(Optional) Scale of the dust. Defaults to 1 | ||
number |
(Optional) Minimum distance the target must move before the dust is spawned. Defaults to 2 | ||
(Optional) Spawn position of the dust spawn source relative to the target. Defaults to {x: 0, y: 0, z: 0} | |||
Object3D |
Once created, the dust will follow the target | ||
"cloud" |