Class: ParticleTextureSheetModule
Particle Module of texture sheet
Hierarchy
ParticleModuleBase
↳
ParticleTextureSheetModule
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new ParticleTextureSheetModule(): ParticleTextureSheetModule
Returns
Inherited from
ParticleModuleBase.constructor
Properties
clipCol
• clipCol: number
= 1
The number of columns in the texture sheet
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:14
totalClip
• totalClip: number
= 1
The total number of clips texture sheet
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:19
playRate
• playRate: number
= 1.0
playing speed
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:24
textureWidth
• textureWidth: number
= 1
Texture width
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:29
textureHeight
• textureHeight: number
= 1
Texture Height
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:34
playMode
• playMode: number
= 0
play mode
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:39
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
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 texture sheet module: such as clip col, total clip, play speed.
Parameters
Name | Type |
---|---|
globalMemory | ParticleGlobalMemory |
localMemory | ParticleLocalMemory |
Returns
void
Overrides
ParticleModuleBase.generateParticleModuleData
Defined in
packages/particle/module/stand/ParticleTextureSheetModule.ts:47