Methods
# lookTo(pitch, yaw, lookOffset)
Sets the coressponding actor's look configurations by publishing an event to the actor.
Parameters:
Name | Type | Description |
---|---|---|
pitch |
number | the pitch |
yaw |
number | the yaw |
lookOffset |
Vector3 | the lookOffset |
# setOpacity(opacity)
This method sets the opacity of the 3D model by assigning a different opacity value into the Three.js material.
Parameters:
Name | Type | Description |
---|---|---|
opacity |
number |
# gotHome()
This call initiates tells the actor to move back to [0, 0, 0], and resets rotation.