Types
Image
Name | Type | Required | Description |
---|---|---|---|
size | Object | Yes | Dimensions of the image in pixels |
transform | Object | No | Transform applied to the image |
url | String | Yes | Url of the image |
Size
Name | Type | Required | Description |
---|---|---|---|
height | Number | Yes | Height of the image in pixels |
width | Number | Yes | Width of the image in pixels |
Transform
Name | Type | Required | Description |
---|---|---|---|
position | Vector3 | No | Location of image |
rotation | Object | No | Rotation transform |
Rotation
Name | Type | Required | Description |
---|---|---|---|
angle | Number | No | Angle in radians |
centerOfRotation | Vector3 | No | Point to rotate over |
x | Number | Yes | X axis rotation |
y | Number | Yes | Y axis rotation |
z | Number | Yes | Z axis rotation |