CameraTarget Class |
Namespace: ImmerseSDK.Camera
[HelpURLAttribute("https://immerse.readme.io/")] public class CameraTarget : UnityEngine.MonoBehaviour
The CameraTarget type exposes the following members.
Name | Description | |
---|---|---|
CameraTarget | Initializes a new instance of the CameraTarget class |
Name | Description | |
---|---|---|
ID |
Returns a unique ID to identify this target
Note: This is not used in the message GUID
| |
IsDefaultCamera |
True is this is the default camera target
| |
Name |
Returns the name of the game object this component is attached to
| |
Priority |
Priority of this camera target being shown, higher number is higher priority
| |
ShouldSnap |
If set to true, moving to/from this target will happen via a fade in/out and not via an animation
| |
UpdateSmoothingSpeed |
If set to true, moving to/from this target will happen via a fade in/out and not via an animation
|
Name | Description | |
---|---|---|
Awake |
Unity Component Method
| |
Initialize |
Initialises a new CameraTarget. Called by our internal system.
| |
OnDisable | ||
OnEnable | ||
Select |
Selects this target and makes it the active one.
|
Name | Description | |
---|---|---|
_priority | ||
_shouldSnap |
If set to true, moving to/from this target will happen via a fade in/out and not via an animation
| |
_updateSmoothingSpeed |
Smoothing speed for updates (not initial movement to the target). If 0, smoothing is disabled.
| |
OnEnter |
A delegate that is called when the CameraService activates this target
| |
OnExit |
A delegate that is called when the CameraService deactivates this target
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |