Class: ParticleGravityModifierModule
Particle module of gravity modifier
Hierarchy
ParticleModuleBase
↳
ParticleGravityModifierModule
Constructors
Accessors
Methods
Constructors
constructor
• new ParticleGravityModifierModule(): ParticleGravityModifierModule
Returns
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
Name | Type |
---|---|
value | Vector3 |
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
Name | Type |
---|---|
v | boolean |
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
Name | Type |
---|---|
globalMemory | ParticleGlobalMemory |
localMemory | ParticleLocalMemory |
Returns
void
Overrides
ParticleModuleBase.generateParticleModuleData
Defined in
packages/particle/module/stand/ParticleGravityModifierModule.ts:36
setSimulator
▸ setSimulator(simulator
): void
Parameters
Name | Type |
---|---|
simulator | ParticleSimulator |
Returns
void
Inherited from
ParticleModuleBase.setSimulator
Defined in
packages/particle/module/stand/ParticleModuleBase.ts:25
calculateParticle
▸ calculateParticle(globalMemory
, localMemory
): void
Parameters
Name | Type |
---|---|
globalMemory | ParticleGlobalMemory |
localMemory | ParticleLocalMemory |
Returns
void
Inherited from
ParticleModuleBase.calculateParticle