/// <summary> /// Convert to VRPose struct /// </summary> /// <param name="spatialState">Spatial state</param> /// <returns>VRPose instance</returns> private VRPose ConvertToVRPose(SpatialState spatialState) { VRPose pose; pose.Position = spatialState.Position; pose.Orientation = spatialState.Orientation; return(pose); }
/// <summary> /// Initializes a new instance of the <see cref="SpatialInputManager"/> class. /// </summary> /// <param name="service">The service</param> public SpatialInputManager(SpatialInputService service) { this.currentSpatialState = new SpatialState(); this.service = service; }