Class ARRaycastFeature
Enables AR Foundation raycast support via OpenXR for Meta Quest devices.
Inherited Members
OpenXRFeature.enabled
OpenXRFeature.xrGetInstanceProcAddr
OpenXRFeature.OnSubsystemStart()
OpenXRFeature.OnSubsystemStop()
OpenXRFeature.OnEnvironmentBlendModeChange(XrEnvironmentBlendMode)
OpenXRFeature.OnEnabledChange()
OpenXRFeature.GetCurrentAppSpace()
OpenXRFeature.SetEnvironmentBlendMode(XrEnvironmentBlendMode)
OpenXRFeature.GetEnvironmentBlendMode()
OpenXRFeature.StartSubsystem<T>()
OpenXRFeature.StopSubsystem<T>()
OpenXRFeature.DestroySubsystem<T>()
OpenXRFeature.OnEnable()
OpenXRFeature.OnDisable()
OpenXRFeature.Awake()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: Unity.XR.MetaOpenXR.dll
Syntax
public class ARRaycastFeature : OpenXRFeature
Fields
featureId
The feature id string. This is used to give the feature a well known id for reference.
Declaration
public const string featureId = "com.unity.openxr.feature.arfoundation-meta-raycast"
Field Value
Type | Description |
---|---|
string |
Methods
GetValidationChecks(List<ValidationRule>, BuildTargetGroup)
Validation Rules for ARRaycastFeature.
Declaration
protected override void GetValidationChecks(List<OpenXRFeature.ValidationRule> rules, BuildTargetGroup targetGroup)
Parameters
Type | Name | Description |
---|---|---|
List<OpenXRFeature.ValidationRule> | rules | |
BuildTargetGroup | targetGroup |
Overrides
OnSubsystemCreate()
Instantiates Meta OpenXR raycast subsystem instances, but does not start it. (Start/Stop is typically handled by AR Foundation managers.)
Declaration
protected override void OnSubsystemCreate()
Overrides
UnityEngine.XR.OpenXR.Features.OpenXRFeature.OnSubsystemCreate()
OnSubsystemDestroy()
Destroys the raycast subsystem.
Declaration
protected override void OnSubsystemDestroy()
Overrides
UnityEngine.XR.OpenXR.Features.OpenXRFeature.OnSubsystemDestroy()