📐 Transforming Content

Learn how to send real-time updates and control animations with our Unity SDK

Real-time updates and animations

You can go back to the console to add more 3D models, delete 3D models, add metadata, or change existing metadata associated with your entry and instantly see the changes in Unity even while the Unity project is running.

For example, lets add metadata with the key direction and the value right.

This will make the 3D model rotated to the right.

Build-in keywords

The following keys are words the system uses as pre-defined metadata keys to control real-time transformations:

Keyword

Type

Options

Effect

x

float

Any positive or negative number

Moves the hologram on the x-axis

y

float

Any positive or negative number

Moves the hologram on the y-axis

z

float

Any positive or negative number

Moves the hologram on the z-axis

scale

float

Any positive number

Grows or shrinks the hologram uniformly

direction

string

"right" or "left"

Continuously rotates the model on its center

xAngle

float

Any positive or negative number

Rotates the hologram on the x-axis

yAngle

float

Any positive or negative number

Rotates the hologram on the y-axis

zAngle

float

Any positive or negative number

Rotates the hologram on the z-axis

shader

string

Any string

Default for OBJ is "Diffuse"

Default for GLTF/GLB is "glTF/Unlit"

The name of the shader to apply to a model holograms. E.g. use "Legacy Shaders/Diffuse" for iOS/Android apps.

mute

boolean

Either 'true' of 'false'

Default value is 'false'

Mute the sound of a video hologram

height

integer

Any positive number

Set the height of an image hologram or a video hologram

width

integer

Any positive number

Set the width of an image hologram or a video hologram