Class StereoVRArucoCameraDisplay
Displays a StereoArucoCamera in a VR HMD.
Inheritance
StereoVRArucoCameraDisplay
Inherited Members
Namespace: ArucoUnity.Cameras.Displays
Assembly: Assembly-CSharp.dll
Syntax
public class StereoVRArucoCameraDisplay : ArucoCameraDisplayGeneric<StereoArucoCamera, ArucoCameraUndistortion>, IArucoCameraDisplay, IArucoCameraController, IController
Fields
| Improve this Doc View SourcearucoObjectPlacementZFactor
Declaration
protected float arucoObjectPlacementZFactor
Field Value
Type | Description |
---|---|
Single |
backgroundsPositionOffset
Declaration
protected Vector3 backgroundsPositionOffset
Field Value
Type | Description |
---|---|
Vector3 |
cameraFocalLength
Declaration
protected float cameraFocalLength
Field Value
Type | Description |
---|---|
Single |
Methods
| Improve this Doc View SourceAwake()
Populates
Declaration
protected override void Awake()
Overrides
ArucoUnity.Cameras.Displays.ArucoCameraDisplayGeneric<ArucoUnity.Cameras.StereoArucoCamera, ArucoUnity.Cameras.Undistortions.ArucoCameraUndistortion>.Awake()
|
Improve this Doc
View Source
ConfigureDisplay()
Configure the backgrounds for VR mode.
Declaration
protected override void ConfigureDisplay()
Overrides
| Improve this Doc View SourceConfigureRectifiedBackground(Int32)
Places the
Declaration
protected override void ConfigureRectifiedBackground(int cameraId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | cameraId | The id of the background and the background camera to configure. |
Overrides
| Improve this Doc View SourceConfigureRectifiedCamera(Int32)
Cancels the base class configuration of the virtual cameras as Unity already handles them.
Declaration
protected override void ConfigureRectifiedCamera(int cameraId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | cameraId |
Overrides
| Improve this Doc View SourcePlaceArucoObject(Transform, Int32, Vector3, Quaternion)
Declaration
public override void PlaceArucoObject(Transform arucoObject, int cameraId, Vector3 localPosition, Quaternion localRotation)
Parameters
Type | Name | Description |
---|---|---|
Transform | arucoObject | |
Int32 | cameraId | |
Vector3 | localPosition | |
Quaternion | localRotation |