Method GetEnabledMask
GetEnabledMask<T>(ref ComponentTypeHandle<T>)
Provides a EnabledMask 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 |
GetEnabledMask<T>(ref BufferTypeHandle<T>)
Provides a EnabledMask to the component enabled bits in this chunk.
Declaration
public readonly EnabledMask GetEnabledMask<T>(ref BufferTypeHandle<T> typeHandle) where T : unmanaged, IBufferElementData, IEnableableComponent
Parameters
Type | Name | Description |
---|---|---|
BufferTypeHandle<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 |
GetEnabledMask(ref DynamicComponentTypeHandle)
Provides a EnabledMask to the component enabled bits in this chunk.
Declaration
public readonly EnabledMask GetEnabledMask(ref DynamicComponentTypeHandle typeHandle)
Parameters
Type | Name | Description |
---|---|---|
DynamicComponentTypeHandle | typeHandle | Type handle for the dynamic component/>. |
Returns
Type | Description |
---|---|
EnabledMask | An EnabledMask instance for component in this chunk. |