Home > @esengine/ecs-framework-monorepo > ComponentRegistry > getBitMask
ComponentRegistry.getBitMask() method
获取组件类型的位掩码
Signature:
typescript
static getBitMask<T extends Component>(componentType: ComponentType<T>): BitMask64Data;
Parameters
Parameter | Type | Description |
---|---|---|
componentType | 组件类型 |
Returns:
位掩码