Skip to main content

Class: ParticleComponent

Defined in: particles/components/particle-component.ts:17

Represents a particle component. This class is used to define properties and behavior for particles, such as their rotation speed.

Extends

Constructors

Constructor

new ParticleComponent(options): ParticleComponent

Defined in: particles/components/particle-component.ts:24

Creates an instance of ParticleComponent.

Parameters

options

ParticleOptions

The configuration options for the particle component.

Returns

ParticleComponent

Overrides

Component.constructor

Properties

rotationSpeed

rotationSpeed: number

Defined in: particles/components/particle-component.ts:18

Accessors

id

Get Signature

get static id(): symbol

Defined in: ecs/types/Component.ts:12

The unique id of the component.

Returns

symbol

Inherited from

Component.id