Options
All
  • Public
  • Public/Protected
  • All
Menu

Spawns particles in a cone. Particles are emitted from the base of the cone, which is a circle on the X/Z plane. The angle and speed parameters define the initial particle velocity.

Hierarchy

Index

Constructors

constructor

  • new EmitterConeSource(radius?: number, angle?: number, speed?: number): EmitterConeSource
  • Parameters

    • Optional radius: number
    • Optional angle: number
    • Optional speed: number

    Returns EmitterConeSource

Properties

angle

angle: number

The angle of the cone.

radius

radius: number

The radius in which the particles are being spawned.

speed

speed: number

The initial speed of the particles.

Static _isSharedComp

_isSharedComp: boolean

Static _size

_size: number

Static _view

_view: any

Static angle

Static cid

cid: number

Static radius

Static speed

Methods

Static _dtorFn

Static _fromPtr

Static _tempHeapPtr

Static _toPtr

  • Parameters

    Returns void

Generated using TypeDoc