Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement [Image] properties #419

Open
grzegorzdec opened this issue Feb 6, 2020 · 0 comments
Open

Implement [Image] properties #419

grzegorzdec opened this issue Feb 6, 2020 · 0 comments
Labels
Android Related to Android platform. iOS Related to iOS platform.

Comments

@grzegorzdec
Copy link
Contributor

magic-script/magic-script-components#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 grzegorzdec added the Android Related to Android platform. label Feb 6, 2020
@darek607 darek607 added the iOS Related to iOS platform. label Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Related to Android platform. iOS Related to iOS platform.
Projects
None yet
Development

No branches or pull requests

2 participants