docs.unity.cn
    Show / Hide Table of Contents

    Struct ProbeSettings.Frustum

    Describe how frustum is handled when rendering probe.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public struct Frustum

    Fields

    automaticScale

    The automatic value of the FOV is multiplied by this factor at the end.

    Declaration
    [Min(0F)]
    public float automaticScale
    Field Value
    Type Description
    Single

    default

    Obsolete

    Declaration
    [Obsolete("Since 2019.3, use Frustum.NewDefault() instead.")]
    public static readonly ProbeSettings.Frustum default
    Field Value
    Type Description
    ProbeSettings.Frustum

    fieldOfViewMode

    Mode to use when computing the field of view.

    For planar reflection probes: this value is used. For reflection probes: this value is ignored, FOV will be 90°.

    Declaration
    public ProbeSettings.Frustum.FOVMode fieldOfViewMode
    Field Value
    Type Description
    ProbeSettings.Frustum.FOVMode

    fixedValue

    Value to use when FOV is fixed.

    Declaration
    [Range(0F, 179F)]
    public float fixedValue
    Field Value
    Type Description
    Single

    viewerScale

    The viewer's FOV is multiplied by this factor at the end.

    Declaration
    [Min(0F)]
    public float viewerScale
    Field Value
    Type Description
    Single

    Methods

    NewDefault()

    Default value.

    Declaration
    public static ProbeSettings.Frustum NewDefault()
    Returns
    Type Description
    ProbeSettings.Frustum

    The default value.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023