docs.unity.cn
    Show / Hide Table of Contents

    Enum SRPLensFlareType

    SRPLensFlareType which can be an image of a procedural shape If change order or add new member, need to update preview shader: LensFlareDataDrivenPreview.shader

    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public enum SRPLensFlareType

    Fields

    Name Description Value
    Image

    Image from a file or a RenderTexture


    0
    Circle

    Procedural Circle


    1
    Polygon

    Polygon


    2

    Extension Methods

    AnalyticsUtils.ToNestedColumn<SRPLensFlareType>(Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<SRPLensFlareType>(SRPLensFlareType, Boolean)
    ReflectionUtils.Invoke(String, Object[])
    ReflectionUtils.SetField(String, Object)
    ReflectionUtils.GetField(String)
    ReflectionUtils.GetFields()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023