ComponentData
此内容尚不支持你的语言。
ComponentData<
C> =CextendsBuiltinComponentDef<infer T> ?T:CextendsComponentDef<infer T> ?T:never
Defined in: ecs/component.ts:1246
The value shape a component definition holds — ComponentData<typeof Transform>
is TransformData. This is what world.get answers and world.set takes, so a
helper generic over a component writes its own signature with it.
Type Parameters
Section titled “Type Parameters”C