Class: ParticleRotationModule
Particle Module of rotate quad
Hierarchy
ParticleModuleBase
↳
ParticleRotationModule
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new ParticleRotationModule(): ParticleRotationModule
Returns
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
Name | Type |
---|---|
v | boolean |
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
Name | Type |
---|---|
value | MinMaxCurve |
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
Name | Type |
---|---|
value | MinMaxCurve |
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
Name | Type |
---|---|
value | MinMaxCurve |
Returns
void
Defined in
packages/particle/module/stand/ParticleRotationModule.ts:52
Methods
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
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
Name | Type |
---|---|
globalMemory | ParticleGlobalMemory |
localMemory | ParticleLocalMemory |
Returns
void
Overrides
ParticleModuleBase.generateParticleModuleData