docs.unity3d.com
    Show / Hide Table of Contents

    Enum ExposeFieldAttributeType

    The attribute type for exposed node fields.

    Namespace: Unity.VisualCompositor
    Syntax
    public enum ExposeFieldAttributeType

    Fields

    Name Description Value
    AsFieldType

    Expose the field according to its type. The supported types are:

    • float (FloatField)
    • int (IntegerField)
    • bool (Toggle)
    • Color (ColorField)
    • Vector2 (Vector2Field)
    • Vector3 (Vector3Field)
    • Vector4 (Vector4Field)
    Color

    Exposes the field as a color.

    Curve

    Expose field as an Animation Curve

    Enum

    Exposes the field as an Enum

    Float

    Exposes the field as a float.

    Int

    Exposes the field as an int.

    PopupString

    Exposes the field as a popup with string values.

    Property

    Exposes the field as a SerializedProperty.

    RenderTexturePropertyAndInfo

    Exposes the field as a RenderTexture object and info.

    Texture

    Exposes the field as a texture.

    Toggle

    Exposes the field as a toggle.

    Vector2

    Exposes the field as a 2D vector.

    Vector3

    Exposes the field as a 3D vector.

    Vector4

    Exposes the field as a 4D vector.

    Back to top
    Terms of use
    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