Skip to content

Class: ParticleTextureSheetModule

Particle Module of texture sheet

Hierarchy

  • ParticleModuleBase

    ParticleTextureSheetModule

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ParticleTextureSheetModule(): ParticleTextureSheetModule

Returns

ParticleTextureSheetModule

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

NameType
vboolean

Returns

void

Inherited from

ParticleModuleBase.needReset

Defined in

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

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 texture sheet module: such as clip col, total clip, play speed.

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Overrides

ParticleModuleBase.generateParticleModuleData

Defined in

packages/particle/module/stand/ParticleTextureSheetModule.ts:47