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

Implement [Image] properties

Open grzegorzdec opened this issue 5 years ago • 0 comments

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.

grzegorzdec avatar Feb 06 '20 12:02 grzegorzdec