Class SpatialCoordinateSystemParticipant
The SpectatorView helper class for managing a participant in the spatial coordinate system
Inheritance
SpatialCoordinateSystemParticipant
Assembly: cs.temp.dll.dll
Syntax
public class SpatialCoordinateSystemParticipant : DisposableBase, IPeerConnection
Constructors
SpatialCoordinateSystemParticipant(SocketEndpoint, GameObject, Single)
Declaration
public SpatialCoordinateSystemParticipant(SocketEndpoint endpoint, GameObject debugVisualPrefab, float debugVisualScale)
Parameters
Properties
Coordinate
Declaration
public ISpatialCoordinate Coordinate { get; set; }
Property Value
Type |
Description |
ISpatialCoordinate |
|
CurrentLocalizationSession
Gets the currently-running localization session for this participant;
Declaration
public ISpatialLocalizationSession CurrentLocalizationSession { get; }
Property Value
IsLocatingSpatialCoordinate
Declaration
public bool IsLocatingSpatialCoordinate { get; }
Property Value
PeerDeviceTrackingState
Gets the last-reported tracking status of the peer device.
Declaration
public TrackingState PeerDeviceTrackingState { get; }
Property Value
PeerIsLocatingSpatialCoordinate
Gets whether or not the peer device is actively attempting to locate the shared spatial coordinate.
Declaration
public bool PeerIsLocatingSpatialCoordinate { get; }
Property Value
PeerSpatialCoordinateIsLocated
Gets the last-reported status of whether or not the peer's spatial coordinate is located and tracking.
Declaration
public bool PeerSpatialCoordinateIsLocated { get; }
Property Value
PeerSpatialCoordinateWorldPosition
Gets the position of the shared spatial coordinate in the peer device's world space.
Declaration
public Vector3 PeerSpatialCoordinateWorldPosition { get; }
Property Value
PeerSpatialCoordinateWorldRotation
Gets the rotation of the shared spatial coordinate in the peer device's world space.
Declaration
public Quaternion PeerSpatialCoordinateWorldRotation { get; }
Property Value
Type |
Description |
Quaternion |
|
ShowDebugVisuals
Declaration
public bool ShowDebugVisuals { get; set; }
Property Value
SocketEndpoint
Declaration
public SocketEndpoint SocketEndpoint { get; }
Property Value
Methods
EnsureStateChangesAreBroadcast()
Declaration
public void EnsureStateChangesAreBroadcast()
GetPeerSupportedLocalizersAsync()
Declaration
public Task<ISet<Guid>> GetPeerSupportedLocalizersAsync()
Returns
Type |
Description |
Task<ISet<Guid>> |
|
OnManagedDispose()
Declaration
protected override void OnManagedDispose()
SendData(Action<BinaryWriter>)
Declaration
public void SendData(Action<BinaryWriter> writeCallback)
Parameters
Type |
Name |
Description |
Action<BinaryWriter> |
writeCallback |
|
Implements