docs.unity3d.com
    Show / Hide Table of Contents

    Class AREnvironmentProbe

    A game object component to manage the reflection probe settings as the environment probe changes are applied.

    Inheritance
    Object
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>
    AREnvironmentProbe
    Inherited Members
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>.destroyOnRemoval
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>.trackableId
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>.trackingState
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>.pending
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>.sessionRelativeData
    ARTrackable<XREnvironmentProbe, AREnvironmentProbe>.OnAfterSetSessionRelativeData()
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public class AREnvironmentProbe : ARTrackable<XREnvironmentProbe, AREnvironmentProbe>

    Properties

    environmentTextureFilterMode

    Specifies the texture filter mode to be used with the environment texture.

    Declaration
    public FilterMode environmentTextureFilterMode { get; set; }
    Property Value
    Type Description
    FilterMode

    The texture filter mode to be used with the environment texture.

    extents

    The extents of the environment probe. This is always half the size.

    Declaration
    public Vector3 extents { get; }
    Property Value
    Type Description
    Vector3

    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.

    Declaration
    public IntPtr nativePtr { get; }
    Property Value
    Type Description
    IntPtr

    placementType

    The placement type (for example, manual or automatic). If manual, this probe was created by AddEnvironmentProbe(Pose, Vector3, Vector3).

    Declaration
    public AREnvironmentProbePlacementType placementType { get; }
    Property Value
    Type Description
    AREnvironmentProbePlacementType

    size

    The size (dimensions) of the environment probe.

    Declaration
    public Vector3 size { get; }
    Property Value
    Type Description
    Vector3

    textureDescriptor

    The XRTextureDescriptor associated with this environment probe. This is used to generate the cubemap texture on the reflection probe component.

    Declaration
    public XRTextureDescriptor textureDescriptor { get; }
    Property Value
    Type Description
    XRTextureDescriptor

    Methods

    OnAfterSetSessionRelativeData()

    Declaration
    protected override void OnAfterSetSessionRelativeData()
    Overrides
    UnityEngine.XR.ARFoundation.ARTrackable<XREnvironmentProbe, UnityEngine.XR.ARFoundation.AREnvironmentProbe>.OnAfterSetSessionRelativeData()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, January 7, 2022
    Terms of use