Image file stored in Space. Can be displayed in 2D or 3D context.
Supported file formats
.jpg
.png
.bmp
.gif
.svg
See ImageItem
See GUI.Image
Returns aspect ratio of this image, calculated width divided by height.
width
height
Example:
100 px
50 px
2
0.5
aspect ratio of image file.
original name of this asset derived from uploaded file.
asset type.
Creates an ImageItem from this ImageAsset.
ImageAsset
initial world space position of ImageItem.
ImageItem
created ImageItem.
Image file stored in Space. Can be displayed in 2D or 3D context.
Supported file formats
.jpg.png.bmp.gif.svgSee ImageItem
See GUI.Image