docs.unity3d.com
    Show / Hide Table of Contents

    Class RegisterBindingAttribute

    Creates a table association between the Type specified and the runtime field of an IComponentData, accessible via the BindingRegistry

    Only primitive types of int, bool, and float, in addition to Unity.Mathematics variants of these primitives (e.g. int2, float4) will be added to the BindingRegistry. Other non-compatible types will be silently ignored if this attribute is applied to it.

    Inheritance
    Object
    Attribute
    RegisterBindingAttribute
    Namespace: Unity.Entities
    Syntax
    [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = true)]
    public class RegisterBindingAttribute : Attribute, _Attribute

    Constructors

    Name Description
    RegisterBindingAttribute(Type, String)
    RegisterBindingAttribute(Type, String, Boolean)

    Properties

    Name Description
    ComponentField
    ComponentType
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use