EntityComponent Class

Extends

Classes that extend EntityComponent

Base class for downstream entity components.

Properties

entity

read-only entity: Entity;

The entity that owns this component. The entity will be undefined if it has been removed.

Type: Entity

Caution

This property is still in pre-release. Its signature may change or it may be removed in future releases.