Interface IProvidesCameraPose
Defines the API for a Camera Pose Provider This functionality provider is responsible for 3dof/6dof camera tracking data
Inherited Members
Namespace: Unity.MARS
Syntax
public interface IProvidesCameraPose : IFunctionalityProvider
Methods
GetCameraPose()
Get the current camera pose
Declaration
Pose GetCameraPose()
Returns
Type | Description |
---|---|
Pose | The current camera pose |
Events
poseUpdated
Called when the camera pose changes
Declaration
event Action<Pose> poseUpdated
Event Type
Type | Description |
---|---|
Action<Pose> |
trackingStateChanged
Called when the type of tracking changes, for example from 6dof to 3dof
Declaration
event Action<MRCameraTrackingState> trackingStateChanged
Event Type
Type | Description |
---|---|
Action<MRCameraTrackingState> |