docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetFlareData0

    GetFlareData0(Vector2, Vector2, Vector2, Vector2, float, float, float, Vector2, bool)

    Compute internal parameters needed to render single flare

    Declaration
    public static Vector4 GetFlareData0(Vector2 screenPos, Vector2 translationScale, Vector2 rayOff0, Vector2 vLocalScreenRatio, float angleDeg, float position, float angularOffset, Vector2 positionOffset, bool autoRotate)
    Parameters
    Type Name Description
    Vector2 screenPos
    Vector2 translationScale
    Vector2 rayOff0
    Vector2 vLocalScreenRatio
    float angleDeg
    float position
    float angularOffset
    Vector2 positionOffset
    bool autoRotate
    Returns
    Type Description
    Vector4

    Parameter used on the shader for _FlareData0

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)