{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class DepthOfField | High Definition RP | 10.5.0
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class DepthOfField

    A volume component that holds settings for the Depth Of Field effect.

    상속
    object
    VolumeComponent
    VolumeComponentWithQuality
    DepthOfField
    구현
    IPostProcessComponent
    상속된 멤버
    VolumeComponentWithQuality.quality
    VolumeComponent.active
    VolumeComponent.Override(VolumeComponent, float)
    VolumeComponent.SetAllOverridesTo(bool)
    VolumeComponent.GetHashCode()
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    네임스페이스: UnityEngine.Rendering.HighDefinition
    어셈블리: solution.dll
    구문
    [Serializable]
    [VolumeComponentMenu("Post-processing/Depth Of Field")]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Depth-of-Field.html")]
    public sealed class DepthOfField : VolumeComponentWithQuality, IPostProcessComponent

    필드

    이름 설명
    farFocusEnd

    Sets the distance from the Camera at which the far field blur reaches its maximum blur radius.

    farFocusStart

    Sets the distance from the Camera at which the far field starts blurring.

    focusDistance

    Sets the distance to the focus point from the Camera.

    focusMode

    Specifies the mode that HDRP uses to set the focus for the depth of field effect.

    nearFocusEnd

    Sets the distance from the Camera at which the near field does not blur anymore.

    nearFocusStart

    Sets the distance from the Camera at which the near field blur begins to decrease in intensity.

    프로퍼티

    이름 설명
    farMaxBlur

    Sets the maximum radius the far blur can reach.

    farSampleCount

    Sets the number of samples to use for the far field.

    highQualityFiltering

    When enabled, HDRP uses bicubic filtering instead of bilinear filtering for the depth of field effect.

    nearMaxBlur

    Sets the maximum radius the near blur can reach.

    nearSampleCount

    Sets the number of samples to use for the near field.

    physicallyBased

    When enabled, HDRP uses a more accurate but slower physically based method to compute the depth of field effect.

    resolution

    Specifies the resolution at which HDRP processes the depth of field effect.

    메서드

    이름 설명
    IsActive()

    Tells if the effect needs to be rendered or not.

    IsFarLayerActive()

    Returns the state of the far field blur. This is only relevant when Manual is set.

    IsNearLayerActive()

    Returns the state of the near field blur. This is only relevant when Manual is set.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)