Documentation

Unity Engine


Unity Engine


GetEnableableBits

Gets a copy of all the Enableable bits for the specified type handle.
Read time 1 minuteLast updated 2 days ago

Definition

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

GetEnableableBits(DynamicComponentTypeHandle)

Gets a copy of all the Enableable bits for the specified type handle.
public readonly v128 GetEnableableBits(ref DynamicComponentTypeHandle typeHandle)

Parameters

A type handle for the component type whose enabled bits you want to query.

Returns

Type

Description

v128Returns a 128-bit mask which contains a copy of the bitarray.

GetEnableableBits<T>(ComponentTypeHandle<T>)

Gets a copy of all the Enableable bits for the specified type handle.
public readonly v128 GetEnableableBits<T>(ref ComponentTypeHandle<T> typeHandle) where T : unmanaged, IComponentData, IEnableableComponent

Parameters

Type handle for the component type
T
.

Returns

Type

Description

v128Returns a 128-bit mask which contains a copy of the bitarray.