magic-script-components-react-native
magic-script-components-react-native copied to clipboard
Implement [Image] properties
https://github.com/magic-script/magic-script-components/issues/227
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. |