ImageComponent class
Image component, used to display images in the game (.png, .jpg, .jpeg)
See ImageComponentData for the data schema used to create an image component
Signature:
export declare class ImageComponent extends Component3D<ImageComponentData> Extends: Component3D<ImageComponentData>
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ImageComponent class.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
{ opacity: (value: any) => void; } | ||
|
string | |||
|
string | |||
|
number |
*************************************************************** Public API *************************************************************** | ||
|
boolean |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
| ||
|
| ||
|
| ||
|
|