docs.unity3d.com
    Show / Hide Table of Contents

    Class VFXPropertyBindingAttribute

    A ClassAttribute for use with ExposedProperty in order to specify the compatible type of a bound property.

    Inheritance
    Object
    Attribute
    PropertyAttribute
    VFXPropertyBindingAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: UnityEngine.VFX.Utility
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public class VFXPropertyBindingAttribute : PropertyAttribute, _Attribute

    Constructors

    VFXPropertyBindingAttribute(String[])

    Specify the compatible type of a bound property.

    Declaration
    public VFXPropertyBindingAttribute(params string[] editorTypes)
    Parameters
    Type Name Description
    String[] editorTypes

    The array of compatible editor types, expressed as string including namespace. For instance, the value returned by typeof(float).FullName (System.Single).

    Fields

    EditorTypes

    The array of compatible editor types, expressed as string including namespace. For instance, the value returned by typeof(float).FullName (System.Single).

    Declaration
    public string[] EditorTypes
    Field Value
    Type Description
    String[]
    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