Class SimulatedSpatialCoordinate<TKey>
Helper class for creating artificial spatial coordinates in the editor.
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public class SimulatedSpatialCoordinate<TKey> : SpatialCoordinateUnityBase<TKey>
Type Parameters
Name | Description |
---|---|
TKey | Type of key to use with this coordinate |
Constructors
SimulatedSpatialCoordinate(TKey, Vector3, Quaternion)
Constructor for creating an artificial spatial coordinate.
Declaration
public SimulatedSpatialCoordinate(TKey id, Vector3 worldPosition, Quaternion worldRotation)
Parameters
Type | Name | Description |
---|---|---|
TKey | id | Id to use |
Vector3 | worldPosition | Position in world space |
Quaternion | worldRotation | Rotation in world space |