TextureAnimationModule Class

Module: cc Parent Module: cc

The texture animation module of 3d particle.

Index

Properties
  • enable Boolean The enable of TextureAnimationModule.
  • mode Mode Set the type of particle map animation (only supports Grid mode for the time being)
  • numTilesX Number Animation frames in X direction.
  • numTilesY Number Animation frames in Y direction.
  • animation Animation The way of the animation plays.
  • randomRow Boolean Randomly select a line from the animated map to generate the animation.
  • rowIndex Number Select specific lines from the animation map to generate the animation.
  • frameOverTime CurveRange Frame and time curve of animation playback in one cycle.
  • startFrame CurveRange Play from which frames, the time is the life cycle of the entire particle system.
  • cycleCount Number Number of playback loops in a life cycle.

Details

Properties

enable

The enable of TextureAnimationModule.

meta description
Type Boolean
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:55
mode

Set the type of particle map animation (only supports Grid mode for the time being)

meta description
Type Mode
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:73
numTilesX

Animation frames in X direction.

meta description
Type Number
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:92
numTilesY

Animation frames in Y direction.

meta description
Type Number
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:100
animation

The way of the animation plays.

meta description
Type Animation
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:108
randomRow

Randomly select a line from the animated map to generate the animation.
This option only takes effect when the animation playback mode is SingleRow.

meta description
Type Boolean
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:118
rowIndex

Select specific lines from the animation map to generate the animation.
This option is only available when the animation playback mode is SingleRow and randomRow is disabled.

meta description
Type Number
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:128
frameOverTime

Frame and time curve of animation playback in one cycle.

meta description
Type CurveRange
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:138
startFrame

Play from which frames, the time is the life cycle of the entire particle system.

meta description
Type CurveRange
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:148
cycleCount

Number of playback loops in a life cycle.

meta description
Type Number
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:158

results matching ""

    No results matching ""