CameraTarget
class in ImmerseSDK.SpectatorCamera / Inherits from MonoBehaviour
Attach this Component to a GameObject to identify it as a CameraTarget for use with the SpectatorCamera.
Fields |
|
Priority |
Determines the order that the CameraTarget appears in the list |
Transition |
The transition to use to move to this target |
Follow |
If the camera should continue to follow this target once it has been reached |
Stabilization |
Amount of stabilization to apply to the camera when it is following this camera target (0 = disabled)This helps to smooth out the camera movement when following a VR user |
OnSelected |
Called when the CameraTarget is selected |
OnDeselected |
Called when the CameraTarget is deselected |
Properties |
|
Id |
Unique ID of the CameraTarget |
Name |
Name of the CameraTarget |
Methods |
|
Select |
Select this camera target. |