Spectator
Summary
The spectator camera
Class Properties
Name | Return Type | Description |
---|---|---|
canSeeWidgets | boolean Read/Write | Sets whether Widgets are visible to the spectator camera |
canSeeStrokes | boolean Read/Write | Sets whether Strokes are visible to the spectator camera |
canSeeSelection | boolean Read/Write | Sets whether Selection are visible to the spectator camera |
canSeeHeadset | boolean Read/Write | Sets whether Headset are visible to the spectator camera |
canSeePanels | boolean Read/Write | Sets whether Panels are visible to the spectator camera |
canSeeUi | boolean Read/Write | Sets whether Ui are visible to the spectator camera |
canSeeUsertools | boolean Read/Write | Sets whether Usertools are visible to the spectator camera |
active | boolean Read/Write | Is the spectator camera currently active? |
position | Vector3 Read/Write | The 3D position of the Spectator Camera Widget |
rotation | Rotation Read/Write | The 3D orientation of the Spectator Camera |
lockedToScene | boolean Read/Write | Sets whether the spectator camera moves with the scene or with the user |
Class Methods
Spectator:LookAt(position)
Changes the rotation of the spectator camera to look towards a specific point
Returns: nil
Parameters:
Name | Type | Default | Description |
---|---|---|---|
position | The point in the scene to look towards |
Example
Spectator:Stationary()
Sets the spectator camera's movement mode to stationary
Returns: nil
Example
Spectator:SlowFollow()
Sets the spectator camera's movement mode to slowFollow
Returns: nil
Example
Spectator:Wobble()
Sets the spectator camera's movement mode to wobble
Returns: nil
Example
Spectator:Circular()
Sets the spectator camera's movement mode to circular
Returns: nil
Example
Last updated