Skip to content

Class: ParticleGravityModifierModule

Particle module of gravity modifier

Hierarchy

  • ParticleModuleBase

    ParticleGravityModifierModule

Constructors

Accessors

Methods

Constructors

constructor

new ParticleGravityModifierModule(): ParticleGravityModifierModule

Returns

ParticleGravityModifierModule

Inherited from

ParticleModuleBase.constructor

Accessors

gravity

get gravity(): Vector3

Get gravity

Returns

Vector3

Defined in

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

set gravity(value): void

Set gravity

Parameters

NameType
valueVector3

Returns

void

Defined in

packages/particle/module/stand/ParticleGravityModifierModule.ts:15


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

Methods

generateParticleModuleData

generateParticleModuleData(globalMemory, localMemory): void

Genarate particle gravity module

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Overrides

ParticleModuleBase.generateParticleModuleData

Defined in

packages/particle/module/stand/ParticleGravityModifierModule.ts:36


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