Class StagingCameraAnalyticsEvent
Event used for camera staging changes
Inherited Members
Namespace: UnityEngine.Industrial.Configuring.Providers
Syntax
public class StagingCameraAnalyticsEvent : AnalyticsEngineEvent
Constructors
StagingCameraAnalyticsEvent(String, ICinemachineCamera, ICinemachineCamera, Single)
Initializes a new instance of the StagingCameraAnalyticsEvent class.
Declaration
public StagingCameraAnalyticsEvent(string eventName, ICinemachineCamera oldCamera, ICinemachineCamera newCamera, float activeTime)
Parameters
Type | Name | Description |
---|---|---|
String | eventName | Name of the event. |
Cinemachine.ICinemachineCamera | oldCamera | The old camera. |
Cinemachine.ICinemachineCamera | newCamera | The new camera. |
Single | activeTime | The active time. |
Properties
ActiveTime
Gets the active time.
Declaration
public float ActiveTime { get; }
Property Value
Type | Description |
---|---|
Single | The active time. |
NewCamera
Creates new camera.
Declaration
public ICinemachineCamera NewCamera { get; }
Property Value
Type | Description |
---|---|
Cinemachine.ICinemachineCamera | The new camera. |
OldCamera
Gets the old camera.
Declaration
public ICinemachineCamera OldCamera { get; }
Property Value
Type | Description |
---|---|
Cinemachine.ICinemachineCamera | The old camera. |
Methods
GetEventData()
Gets the event data.
Declaration
public override IDictionary<string, object> GetEventData()
Returns
Type | Description |
---|---|
IDictionary<String, Object> | IDictionary<System.String, System.Object>. |