textureAnimationModule.Animation Enum

Module: cc Parent Module: cc

贴图动画的播放方式

Index

  • enable
  • mode
  • numTilesX
  • numTilesY
  • animation
  • randomRow
  • rowIndex
  • frameOverTime
  • startFrame
  • cycleCount

Details

enable

The enable of TextureAnimationModule.

meta description
Type Boolean
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:50
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:68
numTilesX

Animation frames in X direction.

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

Animation frames in Y direction.

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

The way of the animation plays.

meta description
Type Animation
Defined in cocos2d/core/3d/particle/animator/texture-animation.ts:103
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:113
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:123
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:133
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:143
cycleCount

Number of playback loops in a life cycle.

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

results matching ""

    No results matching ""