Class ARAnchorFeature
Enables AR Foundation anchor 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()
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
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 ARAnchorFeature : 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-anchor"
Field Value
Type | Description |
---|---|
string |
Methods
GetValidationChecks(List<ValidationRule>, BuildTargetGroup)
Validation Rules for ARAnchorFeature.
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 Anchor subsystem instance, 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 anchor subsystem.
Declaration
protected override void OnSubsystemDestroy()
Overrides
UnityEngine.XR.OpenXR.Features.OpenXRFeature.OnSubsystemDestroy()