Class ARKitLoader
Manages the lifecycle of ARKit subsystems.
Inherited Members
Namespace: UnityEngine .XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public class ARKitLoader : XRLoaderHelper
Properties
anchorSubsystem
The XRAnchorSubsystem whose lifecycle is managed by this loader.
Declaration
public XRAnchorSubsystem anchorSubsystem { get; }
Property Value
Type | Description |
---|---|
XRAnchor |
boundingBoxSubsystem
The XRBoundingBoxSubsystem whose lifecycle is managed by this loader.
Declaration
public XRBoundingBoxSubsystem boundingBoxSubsystem { get; }
Property Value
Type | Description |
---|---|
XRBounding |
cameraSubsystem
The XRCameraSubsystem whose lifecycle is managed by this loader.
Declaration
public XRCameraSubsystem cameraSubsystem { get; }
Property Value
Type | Description |
---|---|
XRCamera |
depthSubsystem
The XRDepthSubsystem whose lifecycle is managed by this loader.
This field is obsolete. Use point
Declaration
[Obsolete("Use pointCloudSubsystem instead. (2022-02-03)")]
public XRDepthSubsystem depthSubsystem { get; }
Property Value
Type | Description |
---|---|
XRDepth |
environmentProbeSubsystem
The XREnvironmentProbeSubsystem whose lifecycle is managed by this loader.
Declaration
public XREnvironmentProbeSubsystem environmentProbeSubsystem { get; }
Property Value
Type | Description |
---|---|
XREnvironment |
faceSubsystem
The XRFaceSubsystem whose lifecycle is managed by this loader.
Declaration
public XRFaceSubsystem faceSubsystem { get; }
Property Value
Type | Description |
---|---|
XRFace |
humanBodySubsystem
The XRHumanBodySubsystem whose lifecycle is managed by this loader.
Declaration
public XRHumanBodySubsystem humanBodySubsystem { get; }
Property Value
Type | Description |
---|---|
XRHuman |
imageTrackingSubsystem
The XRImageTrackingSubsystem whose lifecycle is managed by this loader.
Declaration
public XRImageTrackingSubsystem imageTrackingSubsystem { get; }
Property Value
Type | Description |
---|---|
XRImage |
inputSubsystem
The XRInput
Declaration
public XRInputSubsystem inputSubsystem { get; }
Property Value
Type | Description |
---|---|
XRInput |
meshSubsystem
The XRMesh
Declaration
public XRMeshSubsystem meshSubsystem { get; }
Property Value
Type | Description |
---|---|
XRMesh |
objectTrackingSubsystem
The XRObjectTrackingSubsystem whose lifecycle is managed by this loader.
Declaration
public XRObjectTrackingSubsystem objectTrackingSubsystem { get; }
Property Value
Type | Description |
---|---|
XRObject |
occlusionSubsystem
The XROcclusionSubsystem whose lifecycle is managed by this loader.
Declaration
public XROcclusionSubsystem occlusionSubsystem { get; }
Property Value
Type | Description |
---|---|
XROcclusion |
participantSubsystem
The XRParticipantSubsystem whose lifecycle is managed by this loader.
Declaration
public XRParticipantSubsystem participantSubsystem { get; }
Property Value
Type | Description |
---|---|
XRParticipant |
planeSubsystem
The XRPlaneSubsystem whose lifecycle is managed by this loader.
Declaration
public XRPlaneSubsystem planeSubsystem { get; }
Property Value
Type | Description |
---|---|
XRPlane |
pointCloudSubsystem
The XRPointCloudSubsystem whose lifecycle is managed by this loader.
Declaration
public XRPointCloudSubsystem pointCloudSubsystem { get; }
Property Value
Type | Description |
---|---|
XRPoint |
raycastSubsystem
The XRRaycastSubsystem whose lifecycle is managed by this loader.
Declaration
public XRRaycastSubsystem raycastSubsystem { get; }
Property Value
Type | Description |
---|---|
XRRaycast |
sessionSubsystem
The XRSessionSubsystem whose lifecycle is managed by this loader.
Declaration
public XRSessionSubsystem sessionSubsystem { get; }
Property Value
Type | Description |
---|---|
XRSession |
Methods
Deinitialize()
Destroys each subsystem.
Declaration
public override bool Deinitialize()
Returns
Type | Description |
---|---|
bool | Always returns |
Overrides
Initialize()
Initializes the loader.
Declaration
public override bool Initialize()
Returns
Type | Description |
---|---|
bool |
|
Overrides
Start()
This method does nothing. Subsystems must be started individually.
Declaration
public override bool Start()
Returns
Type | Description |
---|---|
bool | Returns |
Overrides
Stop()
This method does nothing. Subsystems must be stopped individually.
Declaration
public override bool Stop()
Returns
Type | Description |
---|---|
bool | Returns |