Class HDProbe | High Definition RP | 6.7.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class HDProbe

    Inheritance
    Object
    HDProbe
    HDAdditionalReflectionData
    PlanarReflectionProbe
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public abstract class HDProbe : MonoBehaviour, IVersionable<HDProbe.Version>

    Fields

    k_Migration

    Declaration
    protected static readonly MigrationDescription<HDProbe.Version, HDProbe> k_Migration
    Field Value
    Type Description
    MigrationDescription<HDProbe.Version, HDProbe>

    m_ObsoleteCaptureSettings

    Declaration
    [Obsolete("For Data Migration")]
    protected ObsoleteCaptureSettings m_ObsoleteCaptureSettings
    Field Value
    Type Description
    ObsoleteCaptureSettings

    m_ObsoleteInfiniteProjection

    Declaration
    [Obsolete("For Data Migration")]
    protected bool m_ObsoleteInfiniteProjection
    Field Value
    Type Description
    Boolean

    m_ObsoleteInfluenceVolume

    Declaration
    [Obsolete("For Data Migration")]
    protected InfluenceVolume m_ObsoleteInfluenceVolume
    Field Value
    Type Description
    InfluenceVolume

    m_ObsoleteMode

    Declaration
    [Obsolete("For Data Migration")]
    protected ProbeSettings.Mode m_ObsoleteMode
    Field Value
    Type Description
    ProbeSettings.Mode

    m_ObsoleteMultiplier

    Declaration
    [Obsolete("For Data Migration")]
    protected float m_ObsoleteMultiplier
    Field Value
    Type Description
    Single

    m_ObsoleteWeight

    Declaration
    [Obsolete("For Data Migration")]
    protected float m_ObsoleteWeight
    Field Value
    Type Description
    Single

    m_ProbeSettings

    Declaration
    protected ProbeSettings m_ProbeSettings
    Field Value
    Type Description
    ProbeSettings

    Properties

    bakedRenderData

    Declaration
    public HDProbe.RenderData bakedRenderData { get; }
    Property Value
    Type Description
    HDProbe.RenderData

    bakedTexture

    Declaration
    public Texture bakedTexture { get; }
    Property Value
    Type Description
    Texture

    boundingSphere

    Declaration
    public BoundingSphere boundingSphere { get; }
    Property Value
    Type Description
    BoundingSphere

    bounds

    Declaration
    public Bounds bounds { get; }
    Property Value
    Type Description
    Bounds

    customRenderData

    Declaration
    public HDProbe.RenderData customRenderData { get; }
    Property Value
    Type Description
    HDProbe.RenderData

    customTexture

    Declaration
    public Texture customTexture { get; }
    Property Value
    Type Description
    Texture

    frameSettings

    Frame settings in use with this probe.

    Declaration
    public FrameSettings frameSettings { get; }
    Property Value
    Type Description
    FrameSettings

    frameSettingsOverrideMask

    Declaration
    public FrameSettingsOverrideMask frameSettingsOverrideMask { get; }
    Property Value
    Type Description
    FrameSettingsOverrideMask

    influenceVolume

    InfluenceVolume of the probe.

    Declaration
    public InfluenceVolume influenceVolume { get; }
    Property Value
    Type Description
    InfluenceVolume

    isProjectionInfinite

    Is the projection at infinite? Value could be changed by Proxy mode.

    Declaration
    public bool isProjectionInfinite { get; }
    Property Value
    Type Description
    Boolean

    lightLayers

    Light layer to use by this probe.

    Declaration
    public LightLayerEnum lightLayers { get; set; }
    Property Value
    Type Description
    LightLayerEnum

    lightLayersAsUInt

    Declaration
    public uint lightLayersAsUInt { get; }
    Property Value
    Type Description
    UInt32

    mode

    The capture mode.

    Declaration
    public ProbeSettings.Mode mode { get; set; }
    Property Value
    Type Description
    ProbeSettings.Mode

    multiplier

    Multiplier factor of reflection (non PBR parameter).

    Declaration
    public float multiplier { get; set; }
    Property Value
    Type Description
    Single

    proxyExtents

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

    proxyVolume

    ProxyVolume currently used by this probe.

    Declaration
    public ReflectionProxyVolumeComponent proxyVolume { get; }
    Property Value
    Type Description
    ReflectionProxyVolumeComponent

    realtimeMode

    Declaration
    public ProbeSettings.RealtimeMode realtimeMode { get; set; }
    Property Value
    Type Description
    ProbeSettings.RealtimeMode

    realtimeRenderData

    Declaration
    public HDProbe.RenderData realtimeRenderData { get; }
    Property Value
    Type Description
    HDProbe.RenderData

    realtimeTexture

    Declaration
    public RenderTexture realtimeTexture { get; }
    Property Value
    Type Description
    RenderTexture

    renderData

    Declaration
    public HDProbe.RenderData renderData { get; }
    Property Value
    Type Description
    HDProbe.RenderData

    texture

    Declaration
    public Texture texture { get; }
    Property Value
    Type Description
    Texture

    type

    Declaration
    public ProbeSettings.ProbeType type { get; protected set; }
    Property Value
    Type Description
    ProbeSettings.ProbeType

    useInfluenceVolumeAsProxyVolume

    Declaration
    public bool useInfluenceVolumeAsProxyVolume { get; }
    Property Value
    Type Description
    Boolean

    weight

    Weight for blending amongst probes (non PBR parameter).

    Declaration
    public float weight { get; set; }
    Property Value
    Type Description
    Single

    Methods

    GetRenderData(ProbeSettings.Mode)

    Declaration
    public HDProbe.RenderData GetRenderData(ProbeSettings.Mode targetMode)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode
    Returns
    Type Description
    HDProbe.RenderData

    GetTexture(ProbeSettings.Mode)

    Declaration
    public Texture GetTexture(ProbeSettings.Mode targetMode)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode
    Returns
    Type Description
    Texture

    PrepareCulling()

    Prepare the probe for culling. You should call this method when you update the influenceVolume parameters during runtime.

    Declaration
    public virtual void PrepareCulling()

    RequestRenderNextUpdate()

    Request to render this probe next update.

    Call this method with the mode OnDemand and the probe will be rendered the next time it will influence a camera rendering.

    Declaration
    public void RequestRenderNextUpdate()

    SetRenderData(ProbeSettings.Mode, HDProbe.RenderData)

    Declaration
    public void SetRenderData(ProbeSettings.Mode targetMode, HDProbe.RenderData renderData)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode
    HDProbe.RenderData renderData

    SetTexture(ProbeSettings.Mode, Texture)

    Declaration
    public Texture SetTexture(ProbeSettings.Mode targetMode, Texture texture)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode
    Texture texture
    Returns
    Type Description
    Texture

    Explicit Interface Implementations

    IVersionable<HDProbe.Version>.version

    Declaration
    HDProbe.Version IVersionable<HDProbe.Version>.version { get; set; }
    Returns
    Type Description
    HDProbe.Version
    Implements
    IVersionable<TVersion>.version
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX