Implement [Image] properties · Issue #419 · magic-script/magic-script-components-react-native · GitHub
Skip to content

Implement [Image] properties #419

Open

Description

@grzegorzdec

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidRelated to Android platform.iOSRelated to iOS platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions