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.

Implements

Constructors

Constructor

new ParticleComponent(options): ParticleComponent

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

Creates an instance of ParticleComponent.

Parameters

options

ParticleOptions

The configuration options for the particle component.

Returns

ParticleComponent

Properties

name

name: symbol

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

The unique name of the component.

Implementation of

Component.name


rotationSpeed

rotationSpeed: number

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


symbol

readonly static symbol: typeof symbol

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