Documentation

Unity Engine


Unity Engine


GetEnabledMask

Provides a EnabledMask to the component enabled bits in this chunk.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

GetEnabledMask<T>(ComponentTypeHandle<T>)

Provides a EnabledMask to the component enabled bits in this chunk.
public readonly EnabledMask GetEnabledMask<T>(ref ComponentTypeHandle<T> typeHandle) where T : unmanaged, IComponentData, IEnableableComponent

Parameters

Type handle for the component type
T
.

Returns

Type

Description

EnabledMaskAn EnabledMask instance for component
T
in this chunk.

GetEnabledMask<T>(BufferTypeHandle<T>)

Provides a EnabledMask to the component enabled bits in this chunk.
public readonly EnabledMask GetEnabledMask<T>(ref BufferTypeHandle<T> typeHandle) where T : unmanaged, IBufferElementData, IEnableableComponent

Parameters

Type handle for the component type
T
.

Returns

Type

Description

EnabledMaskAn EnabledMask instance for component
T
in this chunk.

GetEnabledMask(DynamicComponentTypeHandle)

Provides a EnabledMask to the component enabled bits in this chunk.
public readonly EnabledMask GetEnabledMask(ref DynamicComponentTypeHandle typeHandle)

Parameters

Type handle for the dynamic component/>.

Returns

Type

Description

EnabledMaskAn EnabledMask instance for component in this chunk.