Skip to main content

Class: TGlobalTransformComponent

Defined in: components/global-transform.ts:10

A component is a data structure that describes a property of an entity.

Extends​

Constructors​

Constructor​

new TGlobalTransformComponent(): TGlobalTransformComponent

Returns​

TGlobalTransformComponent

Inherited from​

TComponent.constructor

Properties​

transform?​

optional transform?: TTransform

Defined in: components/global-transform.ts:11


requiredComponents?​

readonly static optional requiredComponents?: 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.

Inherited from​

TComponent.requiredComponents