Method GetEnableableBits
GetEnableableBits(ref DynamicComponentTypeHandle)
Gets a copy of all the Enableable bits for the specified type handle.
Declaration
public readonly v128 GetEnableableBits(ref DynamicComponentTypeHandle typeHandle)
Parameters
| Type | Name | Description |
|---|---|---|
| DynamicComponentTypeHandle | typeHandle | A type handle for the component type whose enabled bits you want to query. |
Returns
| Type | Description |
|---|---|
| v128 | Returns a 128-bit mask which contains a copy of the bitarray. |
GetEnableableBits<T>(ref ComponentTypeHandle<T>)
Gets a copy of all the Enableable bits for the specified type handle.
Declaration
public readonly v128 GetEnableableBits<T>(ref ComponentTypeHandle<T> typeHandle) where T : unmanaged, IComponentData, IEnableableComponent
Parameters
| Type | Name | Description |
|---|---|---|
| ComponentTypeHandle<T> | typeHandle | Type handle for the component type |
Returns
| Type | Description |
|---|---|
| v128 | Returns a 128-bit mask which contains a copy of the bitarray. |
Type Parameters
| Name | Description |
|---|---|
| T | The component type |