docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property automaticPlacementRequested

    automaticPlacementRequested

    Specifies whether the AR session should automatically place environment probes in the scene.

    Declaration
    public bool automaticPlacementRequested { get; set; }
    Property Value
    Type Description
    bool

    true if automatic placement of environment probes is enabled. Otherwise, false.

    Remarks

    If both manual and automatic placement of environment probes are supported, manually placed environment probes can be specified via TryAddEnvironmentProbe(Pose, Vector3, Vector3, out XREnvironmentProbe) regardless of whether automatic placement is enabled or not.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown when setting this value to true for implementations that do not support automatic placement.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023