Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ClockData

struct in ImmerseSDK.PlatformServices

Contains clock data received from the multiplayer server

Properties
Value Clock for the session, since start
When using offline mode, returns UnityEngine.Time.unscaledTime
Smoothed Returns a smoothed Value using UnityEngine.Time.unscaledTime
When using offline mode, returns UnityEngine.Time.unscaledTime
ReceivedTime Unity time that this update was received (UnityEngine.Time.unscaledTime)
When using offline mode, returns UnityEngine.Time.unscaledTime
PlaybackClock Clock for the playback, current position
RecordingClock Clock value for the ongoing recording
RelativeClock Returns PlaybackClock during Playback, otherwise returns GlobalClock
RelativeClockSmoothed Returns a smoothed relative clock using UnityEngine.Time.unscaledTime
GlobalClock Clock for the session, since start
When using offline mode, returns UnityEngine.Time.unscaledTime
GlobalClockSmoothed Returns a smoothed global clock using UnityEngine.Time.unscaledTime
When using offline mode, returns UnityEngine.Time.unscaledTime
Methods
IsRecording Used to check if the platform is recording
IsPlayback Used to check if this is a playback session
IsPlaybackPaused Used to check if this is a playback is currently paused