Skip to content

Class: ParticleRotationModule

Particle Module of rotate quad

Hierarchy

  • ParticleModuleBase

    ParticleRotationModule

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ParticleRotationModule(): ParticleRotationModule

Returns

ParticleRotationModule

Inherited from

ParticleModuleBase.constructor

Properties

angularVelocityXYZ

angularVelocityXYZ: MinMaxCurve[]

angular velocity of each quad

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:59

Accessors

needReset

get needReset(): boolean

Returns

boolean

Inherited from

ParticleModuleBase.needReset

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:21

set needReset(v): void

Parameters

NameType
vboolean

Returns

void

Inherited from

ParticleModuleBase.needReset

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:17


angularVelocityX

get angularVelocityX(): MinMaxCurve

Returns angular velocity X-axis component of each quad

Returns

MinMaxCurve

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:17

set angularVelocityX(value): void

Set angular velocity X-axis component of each quad

Parameters

NameType
valueMinMaxCurve

Returns

void

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:24


angularVelocityY

get angularVelocityY(): MinMaxCurve

Returns angular velocity Y-axis component of each quad

Returns

MinMaxCurve

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:31

set angularVelocityY(value): void

Set angular velocity Y-axis component of each quad

Parameters

NameType
valueMinMaxCurve

Returns

void

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:38


angularVelocityZ

get angularVelocityZ(): MinMaxCurve

Returns angular velocity Z-axis component of each quad

Returns

MinMaxCurve

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:45

set angularVelocityZ(value): void

Get angular velocity Z-axis component of each quad

Parameters

NameType
valueMinMaxCurve

Returns

void

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:52

Methods

setSimulator

setSimulator(simulator): void

Parameters

NameType
simulatorParticleSimulator

Returns

void

Inherited from

ParticleModuleBase.setSimulator

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:25


calculateParticle

calculateParticle(globalMemory, localMemory): void

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Inherited from

ParticleModuleBase.calculateParticle

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:29


generateParticleModuleData

generateParticleModuleData(globalMemory, localMemory): void

Genarate particle rotate module, init angular velocity of each quad

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Overrides

ParticleModuleBase.generateParticleModuleData

Defined in

packages/particle/module/stand/ParticleRotationModule.ts:67