| cocos2d-x 3.0 |
)- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
tParticle结构体 参考 Particle System
粒子数据结构 更多…
#include
| ## Public 属性 | |
| Vec2 | pos |
| Vec2 | startPos |
| Color4F | color |
| Color4F | deltaColor |
| float | size |
| float | deltaSize |
| float | rotation |
| float | deltaRotation |
| float | timeToLive |
| unsigned int | atlasIndex |
| struct { | |
| Vec2 dir | |
| float radialAccel | |
| float tangentialAccel | |
| } | modeA |
| 模式 A: 引力, 方向, 径向加速度, 切向加速度 更多… | |
| struct { | |
| float angle | |
| float degreesPerSecond | |
| float radius | |
| float deltaRadius | |
| } | modeB |
| 模式 B: 半径模式 更多… | |
详细描述
粒子数据结构
类成员变量说明
| float angle |
| unsigned int atlasIndex |
| Color4F color |
| float degreesPerSecond |
| Color4F deltaColor |
| float deltaRadius |
| float deltaRotation |
| float deltaSize |
| Vec2 dir |
| struct { … } modeA |
模式 A: 引力, 方向, 径向加速度, 切向加速度
| struct { … } modeB |
模式 B: 半径模式
| Vec2 pos |
| float radialAccel |
| float radius |
| float rotation |
| float size |
| Vec2 startPos |
| float tangentialAccel |
| float timeToLive |
该结构体的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/2d/CCParticleSystem.h
- tParticle
- 生成于 2014年 五月 29日 星期四 09:41:43 , 为 cocos2d-x使用
1.8.6
