Class ARMeshFeature
Enables AR Foundation scene meshing support via OpenXR for Android XR devices.
Inherited Members
Object.MemberwiseClone()
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, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.OpenXR.Features.Android
Assembly: Unity.XR.AndroidOpenXR.dll
Syntax
[OpenXRFeature(UiName = "Android XR: Meshing", BuildTargetGroups = new BuildTargetGroup[] { BuildTargetGroup.Android }, Company = "Unity Technologies", Desc = "AR Foundation scene meshing support on Android XR devices", DocumentationLink = "https://docs.unity3d.com/Packages/com.unity.xr.androidxr-openxr@7.0/manual/features/meshing.html", OpenxrExtensionStrings = "XR_ANDROID_scene_meshing", Category = "Feature", FeatureId = "com.unity.openxr.feature.arfoundation-androidxr-scene-meshing", Version = "0.1.0")]
public class ARMeshFeature : AndroidXROpenXRFeature
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-androidxr-scene-meshing"
Field Value
| Type | Description |
|---|---|
| string |
Methods
GetValidationChecks(List<ValidationRule>, BuildTargetGroup)
Validation Rules for ARMeshFeature.
Declaration
protected override void GetValidationChecks(List<OpenXRFeature.ValidationRule> rules, BuildTargetGroup targetGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| List<OpenXRFeature.ValidationRule> | rules | |
| BuildTargetGroup | targetGroup |
Overrides
OnSubsystemCreate()
Instantiates Android OpenXR Mesh subsystem instance, but does not start it. (Start/Stop is typically handled by AR Foundation managers.)
Declaration
protected override void OnSubsystemCreate()
Overrides
OnSubsystemDestroy()
Destroys the mesh subsystem.
Declaration
protected override void OnSubsystemDestroy()