Class AREnvironmentProbe
A GameObject component to manage the reflection probe settings as the environment probe changes are applied.
Inheritance
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: solution.dll
Syntax
[RequireComponent(typeof(ReflectionProbe))]
[DisallowMultipleComponent]
[DefaultExecutionOrder(-2147483646)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.AREnvironmentProbe.html")]
public class AREnvironmentProbe : ARTrackable<XREnvironmentProbe, AREnvironmentProbe>
Properties
Name | Description |
---|---|
environmentTextureFilterMode | Specifies the texture filter mode to be used with the environment texture. |
extents | The extents of the environment probe. This is always half the size. |
nativePtr | A native pointer associated with this environment probe. The data pointed to by this pointer is implementation defined. While the lifetime is also implementation defined, it should be valid at least until the next frame. |
placementType | The placement type (for example, manual or automatic). If manual, this probe was created by AddEnvironmentProbe(Pose, Vector3, Vector3). |
size | The size (dimensions) of the environment probe. |
textureDescriptor | The |
Methods
Name | Description |
---|---|
OnAfterSetSessionRelativeData() | Invoked just after the session-relative data has been set.
The |
ToString() | Generates a string representation of this AREnvironmentProbe. |