magic-script-components
magic-script-components copied to clipboard
Implement [Image] properties
Name | Type | Default Value | Description |
---|---|---|---|
textCoords | [vec2] | Sets the texture coordinates used by the image. The texture coordinates must be a list of four coordinates representing the UV coordinates of the four corners. | |
opaque | boolean | Sets the opacity state of the image. | |
ui | boolean | Sets whether the image is rendered on UI Layer. | |
imageFrameResource | BigInt | Sets the model resource used for the image frame. Note: Frame models are expected to be one meter high, one meter wide, and centered at the origin. | |
renderResource | BigInt | Sets the render resource used for the image. |