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
    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