Struct XREnvironmentProbe
Contains all of the data provided for an individual environment probe in an AR session.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public struct XREnvironmentProbe : IEquatable<XREnvironmentProbe>, ITrackable
Properties
Name | Description |
---|---|
defaultValue | Creates an XREnvironmentProbe populated with default values. |
nativePtr | A native pointer associated with this environment probe. The data pointed to by this pointer is implementation-defined. Its lifetime is also implementation-defined, but will be valid at least until the next call to GetChanges(Allocator). |
pose | Contains the pose (position and rotation) of the environment probe in the AR session. |
scale | Contains the scale of the environment probe in the AR session. |
size | Specifies the volume size around the environment probe's position. This is used for for parallax correction when projecting the environment texture. |
textureDescriptor | Contains the texture descriptor captured from the device. |
trackableId | Uniquely identifies each environment probe in an AR session. |
trackingState | The TrackingState associated with this environment probe. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(XREnvironmentProbe) | Tests for equality. |
GetHashCode() | Generates a hash suitable for use with containers like |
ToString() | Generates a string representation of this XREnvironmentProbe. |
ToString(string) | Generates a string representation of this XREnvironmentProbe. Floating point
values use |
Operators
Name | Description |
---|---|
operator ==(XREnvironmentProbe, XREnvironmentProbe) | Tests for equality. Same as Equals(XREnvironmentProbe). |
operator !=(XREnvironmentProbe, XREnvironmentProbe) | Tests for inequality. Same as |