|
|
|
|
|
|
void Start() |
|
|
|
{ |
|
|
|
var planeDescriptors = new List<XRPlaneSubsystemDescriptor>(); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRPlaneSubsystemDescriptor>(planeDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(planeDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRRaycastSubsystemDescriptor>(rayCastDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(rayCastDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRFaceSubsystemDescriptor>(faceDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(faceDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRImageTrackingSubsystemDescriptor>(imageDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(imageDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XREnvironmentProbeSubsystemDescriptor>(envDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(envDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRAnchorSubsystemDescriptor>(anchorDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(anchorDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRObjectTrackingSubsystemDescriptor>(objectDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(objectDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRParticipantSubsystemDescriptor>(participantDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(participantDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRDepthSubsystemDescriptor>(depthDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(depthDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XROcclusionSubsystemDescriptor>(occlusionDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(occlusionDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRCameraSubsystemDescriptor>(cameraDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(cameraDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRSessionSubsystemDescriptor>(sessionDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(sessionDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors<XRHumanBodySubsystemDescriptor>(bodyTrackingDescriptors); |
|
|
|
SubsystemManager.GetSubsystemDescriptors(bodyTrackingDescriptors); |
|
|
|
|
|
|
|
if(planeDescriptors.Count > 0 && rayCastDescriptors.Count > 0) |
|
|
|
{ |
|
|
|