Home > @esengine/ecs-framework-monorepo > ComponentRegistry > createSingleComponentMask
ComponentRegistry.createSingleComponentMask() method
创建单个组件的掩码
Signature:
typescript
static createSingleComponentMask(componentName: string): BitMask64Data;
Parameters
Parameter | Type | Description |
---|---|---|
componentName | string | 组件名称 |
Returns:
组件掩码