magic-script-components icon indicating copy to clipboard operation
magic-script-components copied to clipboard

Implement [Image] properties

Open grzegorzdec opened this issue 5 years ago • 2 comments

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.

grzegorzdec avatar Feb 05 '20 10:02 grzegorzdec