Class: TTransformComponent
Defined in: components/types.ts:16
A component is a data structure that describes a property of an entity.
Extends
Constructors
Constructor
new TTransformComponent(
transform?):TTransformComponent
Defined in: components/types.ts:17
Parameters
transform?
TTransform = ...
Returns
TTransformComponent
Overrides
Properties
transform
transform:
TTransform
Defined in: components/types.ts:17
requiredComponents?
readonlystaticoptionalrequiredComponents?:TComponentConstructor<TComponent>[]
Defined in: core/component.ts:9
The components that are required by this component. If the entity doesn't have any of the components, they will be created with default values.