Method GetEnabledMask
GetEnabledMask<T>(ref ComponentTypeHandle<T>)
Provides a ComponentEnabledMask to the component enabled bits in this chunk.
Declaration
public readonly EnabledMask GetEnabledMask<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 |
|---|---|
| EnabledMask | An EnabledMask instance for component |
Type Parameters
| Name | Description |
|---|---|
| T | The component type |