πŸ“
Transforming Content
Learn how to move, scale, rotate, and add text to 3D content in FaceAR.

Moving, Scaling, and Rotating 3D Content

Using Metadata

You can use metadata to persistently transform 3D content.
If the content is too big or too small or if you'd like to move or rotate it, go back to the console and add metadata to affect its transformation. After adding or changing metadata you can instantly see the changes in the browser even while the experience is running.
The following keys are words the system uses as pre-defined metadata keys to control transformations:
Keyword
Type
Options
Effect
x
float
Any positive or negative number.
Default value is 0.
Moves the hologram on the x-axis
y
float
Any positive or negative number.
Default value is 0.
Moves the hologram on the y-axis
z
float
Any positive or negative number.
Default value is 0.
Moves the hologram on the z-axis
scale
float
Any positive number.
Default value is 1.
Grows or shrinks the hologram uniformly
height
integer
Any positive number.
Set the height of a image hologram or a video hologram
width
integer
Any positive number.
Set the width of a image hologram or a video hologram
xAngle
float
Any positive or negative number.
Default value is 0.
Rotates the model on the x-axis
yAngle
float
Any positive or negative number.
Default value is 0.
Rotates the model on the y-axis
zAngle
float
Any positive or negative number.
Default value is 0.
Rotates the model on the z-axis
Remember to refresh the browser after adding metadata with FaceAR experiences for the changes to take effect.