Class DepthOfField | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class DepthOfField

    Inheritance
    System.Object
    PostProcessEffectSettings
    DepthOfField
    Inherited Members
    PostProcessEffectSettings.active
    PostProcessEffectSettings.enabled
    PostProcessEffectSettings.SetAllOverridesTo(Boolean, Boolean)
    PostProcessEffectSettings.GetHash()
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    [Serializable]
    public sealed class DepthOfField : PostProcessEffectSettings

    Fields

    aperture

    Declaration
    public FloatParameter aperture
    Field Value
    Type Description
    FloatParameter

    focalLength

    Declaration
    public FloatParameter focalLength
    Field Value
    Type Description
    FloatParameter

    focusDistance

    Declaration
    [Min(0.1F)]
    public FloatParameter focusDistance
    Field Value
    Type Description
    FloatParameter

    kernelSize

    Declaration
    [DisplayName("Max Blur Size")]
    public KernelSizeParameter kernelSize
    Field Value
    Type Description
    KernelSizeParameter

    Methods

    IsEnabledAndSupported(PostProcessRenderContext)

    Declaration
    public override bool IsEnabledAndSupported(PostProcessRenderContext context)
    Parameters
    Type Name Description
    PostProcessRenderContext context
    Returns
    Type Description
    System.Boolean
    Overrides
    PostProcessEffectSettings.IsEnabledAndSupported(PostProcessRenderContext)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023