docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SurfaceDataAttributes

    SurfaceDataAttributes(string, bool, bool, FieldPrecision, bool, string)

    SurfaceDataAttributes constructor.

    Declaration
    public SurfaceDataAttributes(string displayName = "", bool isDirection = false, bool sRGBDisplay = false, FieldPrecision precision = FieldPrecision.Default, bool checkIsNormalized = false, string preprocessor = "")
    Parameters
    Type Name Description
    string displayName

    Display name.

    bool isDirection

    Field is a direction.

    bool sRGBDisplay

    Field is an sRGB value.

    FieldPrecision precision

    Field precision.

    bool checkIsNormalized

    Field checkIsNormalized.

    string preprocessor

    Field preprocessor.

    SurfaceDataAttributes(string[], bool, bool, FieldPrecision, bool, string)

    SurfaceDataAttributes constructor.

    Declaration
    public SurfaceDataAttributes(string[] displayNames, bool isDirection = false, bool sRGBDisplay = false, FieldPrecision precision = FieldPrecision.Default, bool checkIsNormalized = false, string preprocessor = "")
    Parameters
    Type Name Description
    string[] displayNames

    List of names for the field.

    bool isDirection

    Field is a direction.

    bool sRGBDisplay

    Field is an sRGB value.

    FieldPrecision precision

    Field precision.

    bool checkIsNormalized

    Field checkIsNormalized.

    string preprocessor

    Field preprocessor.

    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)