ImageComponentData interface
Data specification for ImageComponent, see ComponentManager.create() on how to create a component
Signature:
export interface ImageComponentData extends Component3DData Extends: Component3DData
Properties
| 
 Property  | 
 Modifiers  | 
 Type  | 
 Description  | 
|---|---|---|---|
| 
 string  | 
 (Optional) if not provided, an auto id will be generated  | ||
| 
 string  | 
 (Optional) Set the magFilter of the image. Defaults to 'LinearFilter'  | ||
| 
 string  | 
 (Optional) Set the minFilter of the image. Defaults to 'LinearMipmapLinearFilter'  | ||
| 
 string  | 
 (Optional) name for the component. Defaults to ""  | ||
| 
 number  | 
 (Optional) Set opacity of the image. 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}  | |||
| 
 "image"  | |||
| 
 string  | 
 url of the image file  | ||
| 
 boolean  | 
 (Optional) Set if the image should use mipmaps. Defaults to true  |