• WrapMode 枚举
  • 索引
  • Details
    • Default
    • Normal
    • Reverse
    • Loop
    • LoopReverse
    • PingPong
    • PingPongReverse

    WrapMode 枚举

    模块: cc

    动画使用的循环模式。

    索引

    • Default
    • Normal
    • Reverse
    • Loop
    • LoopReverse
    • PingPong
    • PingPongReverse

    Details

    Default
    向 Animation Component 或者 AnimationClip 查找 wrapMode
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:45
    Normal
    动画只播放一遍
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:52
    Reverse
    从最后一帧或结束位置开始反向播放,到第一帧或开始位置停止
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:59
    Loop
    循环播放
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:66
    LoopReverse
    反向循环播放
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:73
    PingPong
    从第一帧播放到最后一帧,然后反向播放回第一帧,到第一帧后再正向播放,如此循环
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:81
    PingPongReverse
    从最后一帧开始反向播放,其他同 PingPong
    metadescription
    类型Number
    定义于cocos2d/animation/types.js:89