Class MARSCamera
The camera controller for MARS This behavior subscribes to IUsesCameraPose and IUsesCameraProjectionMatrix to update the main Camera and its Transform. It is automatically added to the camera when MARSSession sets itself up and must remain present in the scene for MARS to work.
Namespace: Unity.MARS
Syntax
public class MARSCamera : MonoBehaviour, IUsesCameraPose, IFunctionalitySubscriber<IProvidesCameraPose>, IUsesCameraProjectionMatrix, IFunctionalitySubscriber<IProvidesCameraProjectionMatrix>, IUsesFunctionalityInjection, ISimulatable
Properties
DisablePoseDriving
If true, MARSCamera will not update the pose of its transform
Declaration
public bool DisablePoseDriving { get; set; }
Property Value
Type | Description |
---|---|
Boolean |