Class PicoFrameSource
- 네임스페이스
- easyar
- 어셈블리
- EasyAR.Sense.Ext.Pico.dll
Custom frame source that connects Pico output to EasyAR input in the scene. It provides Pico support through the custom camera feature of EasyAR Sense.
This frame source is a motion tracking device and outputs motion data in ARSession.
To use this frame source, ``PICO Unity Integration SDK`` is required. You need to configure PICO Unity Integration SDK according to the official documentation.
public class PicoFrameSource : ExternalDeviceMotionFrameSource
- 상속
-
PicoFrameSource
- 상속된 멤버
필드
ControlSeeThrough
Whether to control perspective. To disable it for the entire lifecycle, make sure it is set before ARSession.Start.
public bool ControlSeeThrough
속성
CameraFrameStarted
제공됩니다 only when creating a new frame source. It is accessed throughout the entire lifecycle of ARSession.
여부 camera frame input has started.
protected override bool CameraFrameStarted { get; }
DeviceCameras
제공됩니다 only when creating a new frame source. It is accessed only when CameraFrameStarted is true.
The device cameras that provide camera frame data. If camera frame data is provided by multiple cameras, the list needs to contain all cameras.
Ensure that the value is correct when CameraFrameStarted is true.
protected override List<FrameSourceCamera> DeviceCameras { get; }
Display
제공됩니다 only when creating a new frame source. It is accessed only during Assemble().
제공합니다 display system information. You can use DefaultSystemDisplay or DefaultHMDDisplay to get default display information.
protected override IDisplay Display { get; }
IsAvailable
제공됩니다 only when creating a new frame source. It is accessed only during Assemble().
여부 the current frame source is available.
If the value is null, CheckAvailability() will be called, and the value will be obtained after Coroutine ends.
protected override Optional<bool> IsAvailable { get; }
IsHMD
제공됩니다 only when creating a new frame source. It is accessed only during Assemble().
여부 the current frame source is a head-mounted display. If it is, diagnostic information will be displayed on a 3D panel in front of the camera.
Some frame filters behave differently when running on the device.
protected override bool IsHMD { get; }
OriginType
device origin type입니다.
protected override ExternalDeviceFrameSource.DeviceOriginType OriginType { get; }
UseGlobalPose
Whether to use global pose when obtaining pose from the Pico API. Used only when Pico global pose is enabled.
public bool UseGlobalPose { get; set; }
메서드
OnApplicationPause(bool)
protected override void OnApplicationPause(bool pause)
매개 변수
pause
OnSessionStart(ARSession)
제공됩니다 only when creating a new frame source. It is accessed only during StartSession().
처리합니다 session startup if this frame source has already been assembled into Assembly. This method is designed for lazy initialization. You can perform AR-specific initialization work in this method.
protected override void OnSessionStart(ARSession session)
매개 변수
session
OnSessionStop()
제공됩니다 only when creating a new frame source. It is accessed during StopSession(bool) or another session stop/damage process.
처리합니다 session stop if this frame source has already been assembled into Assembly. You can use this method to destroy resources created by StartSession() and during session running and restore internal state. This method is guaranteed to be called before the session is destroyed. If the frame source is destroyed before the session, it will not be called and the session will be corrupted.
protected override void OnSessionStop()