Show / Hide Table of Contents

    Class StereoVRArucoCameraDisplay

    Displays a StereoArucoCamera in a VR HMD.

    Inheritance
    Object
    Controller
    ArucoCameraController
    ArucoCameraDisplay
    ArucoCameraDisplayGeneric<StereoArucoCamera, ArucoCameraUndistortion>
    StereoVRArucoCameraDisplay
    Implements
    IArucoCameraDisplay
    IArucoCameraController
    IController
    Inherited Members
    ArucoCameraDisplayGeneric<StereoArucoCamera, ArucoCameraUndistortion>.Awake()
    ArucoCameraDisplay.cameraBackgroundDistance
    ArucoCameraDisplay.Cameras
    ArucoCameraDisplay.BackgroundCameras
    ArucoCameraDisplay.Backgrounds
    ArucoCameraDisplay.ArucoCameraUndistortion
    ArucoCameraDisplay.Configuring()
    ArucoCameraDisplay.Starting()
    ArucoCameraDisplay.Stopping()
    ArucoCameraDisplay.SetDisplayActive(Boolean)
    ArucoCameraDisplay.ConfigureDefaultBackgrounds()
    ArucoCameraController.ArucoCamera
    Controller.Configured
    Controller.Ready
    Controller.Started
    Controller.Stopped
    Controller.AutoStart
    Controller.IsConfigured
    Controller.IsReady
    Controller.IsStarted
    Controller.Start()
    Controller.OnDestroy()
    Controller.AddDependency(IController)
    Controller.RemoveDependency(IController)
    Controller.GetDependencies()
    Controller.Configure()
    Controller.StartController()
    Controller.StopController()
    Controller.OnConfigured()
    Controller.OnStarted()
    Controller.OnStopped()
    Namespace: ArucoUnity.Cameras.Displays
    Assembly: Assembly-CSharp.dll
    Syntax
    public class StereoVRArucoCameraDisplay : ArucoCameraDisplayGeneric<StereoArucoCamera, ArucoCameraUndistortion>, IArucoCameraDisplay, IArucoCameraController, IController

    Fields

    | Improve this Doc View Source

    arucoObjectPlacementZFactor

    Declaration
    protected float arucoObjectPlacementZFactor
    Field Value
    Type Description
    Single
    | Improve this Doc View Source

    backgroundsPositionOffset

    Declaration
    protected Vector3 backgroundsPositionOffset
    Field Value
    Type Description
    Vector3
    | Improve this Doc View Source

    cameraFocalLength

    Declaration
    protected float cameraFocalLength
    Field Value
    Type Description
    Single

    Methods

    | Improve this Doc View Source

    Awake()

    Populates , , and from editor fields if not nulls.

    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
    ArucoCameraDisplay.ConfigureDisplay()
    | Improve this Doc View Source

    ConfigureRectifiedBackground(Int32)

    Places the taking account of the difference of the focal length between the VR and from RectificationMatrices.

    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
    ArucoCameraDisplay.ConfigureRectifiedBackground(Int32)
    | Improve this Doc View Source

    ConfigureRectifiedCamera(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
    ArucoCameraDisplay.ConfigureRectifiedCamera(Int32)
    | Improve this Doc View Source

    PlaceArucoObject(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
    Overrides
    ArucoCameraDisplay.PlaceArucoObject(Transform, Int32, Vector3, Quaternion)

    Implements

    IArucoCameraDisplay
    IArucoCameraController
    IController
    • Improve this Doc
    • View Source
    Back to top Aruco Unity - Erwan Normand