GodrayComponentData interface
Data specification for GodrayComponent, see ComponentManager.create() on how to create a component
Signature:
export interface GodrayComponentData extends Component3DData
Extends: Component3DData
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
number |
(Optional) Color of the component. Defaults to 0xffffff | ||
string |
(Optional) if not provided, an auto id will be generated | ||
string |
(Optional) name for the component. Defaults to "" | ||
number |
(Optional) Opacity of the component, from 0 to 1. Defaults to 1 | ||
(Optional) Position of the component in the space. Defaults to {x: 0, y: 0, z: 0} | |||
(Optional) Rotation of the component in the space. Defaults to {x: 0, y: 0, z: 0} | |||
(Optional) Scale of the component in the space. Defaults to {x: 1, y: 1, z: 1} | |||
"godray" |