WaveComponentData interface
Data specification for WaveComponent, see ComponentManager.create() on how to create a component
Signature:
export interface WaveComponentData extends Component3DData
Extends: Component3DData
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
number |
(Optional) Color of the wave lines. Defaults to 0xffffff | ||
-1 |
Direction of the wave circles: 1 means outwards, -1 means inwards. Defaults to -1 | ||
number |
(Optional) Higher values will result in a more detailed wave mesh geometry. Defaults to 100 | ||
number |
(Optional) Height of the wave. Defaults to 0.5 | ||
string |
(Optional) if not provided, an auto id will be generated | ||
number |
(Optional) Number of lines in the wave. Defaults to 4 | ||
number |
(Optional) Width of the wave lines. Defaults to 0.14 | ||
string |
(Optional) name for the component. Defaults to "" | ||
(Optional) Position of the component in the space. Defaults to {x: 0, y: 0, z: 0} | |||
number |
(Optional) Radius of the wave. Defaults to 5 | ||
(Optional) Rotation of the component in the space. Defaults to {x: 0, y: 0, z: 0} | |||
"kitbash" |