TransformSync
class in ImmerseSDK.PlatformServices / Inherits from LockableMonoBehaviour
MonoBehaviour component to enable transform state to be synced over the network.
Properties | |
---|---|
HasAuthority | True if the local user has authority over this transform syncWill return false if not connected |
DefaultIsKinematic | Default kinematic status for the attached Rigidbody (if present) |
UpdatesPerSecond | Number of updates to send per second |
UpdateInterval | The interval in which messages should be sent |
Interpolation | The interpolation mode used for updating the TransformSync values when messages are receivedThis only affects the TransformSync locally and is not synchronised |
Rigidbody | The Rigidbody attached to this component |
SyncProperties | Which values should be synchronizedAt runtime this will take authority if the user doesn’t have it |
Owner | Current owner of this transform sync |
Id | The id of this object. |
Methods | |
---|---|
PropertyIsSynced | Check if a given property is currently being synced for this Transform. |
TakeAuthority | Use for the local user to take authority of this TransformSync |
SendUpdate | Send an update message the transformSync’s current state |