Class SimulatedCameraPoseProvider
Inheritance
SimulatedCameraPoseProvider
Syntax
[MovedFrom("Unity.MARS.Providers")]
public class SimulatedCameraPoseProvider : MonoBehaviour, IProvidesCameraPose, IFunctionalityProvider, IUsesDeviceSimulationSettings, IFunctionalitySubscriber<IProvidesDeviceSimulationSettings>, IFunctionalitySubscriber
Methods
GetCameraPose()
Get the current camera pose
Declaration
public Pose GetCameraPose()
Returns
Type |
Description |
Pose |
The current camera pose
|
Implements
Events
poseUpdated
Called when the camera pose changes
Declaration
public event Action<Pose> poseUpdated
Event Type
Implements
trackingStateChanged
Called when the type of tracking changes, for example from 6dof to 3dof
Declaration
public event Action<MRCameraTrackingState> trackingStateChanged
Event Type
Implements
Explicit Interface Implementations
Declaration
void IFunctionalityProvider.ConnectSubscriber(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Implements
Declaration
void IFunctionalityProvider.LoadProvider()
Implements
Declaration
void IFunctionalityProvider.UnloadProvider()
Implements
Declaration
IProvidesDeviceSimulationSettings IFunctionalitySubscriber<IProvidesDeviceSimulationSettings>.provider { get; set; }
Returns
Implements
Extension Methods