◆ SkeletonAnimationCullingFix()
| SkeletonAnimationCullingFix::SkeletonAnimationCullingFix |
( |
| ) |
|
|
inline |
◆ createWithFile()
| static SkeletonAnimationCullingFix * SkeletonAnimationCullingFix::createWithFile |
( |
const std::string & |
skeletonDataFile, |
|
|
const std::string & |
atlasFile, |
|
|
float |
scale = 1 |
|
) |
| |
|
inlinestatic |
◆ draw()
| virtual void SkeletonAnimationCullingFix::draw |
( |
cocos2d::Renderer * |
renderer, |
|
|
const cocos2d::Mat4 & |
transform, |
|
|
uint32_t |
transformFlags |
|
) |
| |
|
inlineoverridevirtual |
在文件 Scene3DTest.cpp 第 44 行定义.
46 glDisable(GL_CULL_FACE);
47 SkeletonAnimation::draw(renderer, transform, transformFlags);
48 RenderState::StateBlock::invalidate(cocos2d::RenderState::StateBlock::RS_ALL_ONES);
该类的文档由以下文件生成:
- /Users/yujizhu/Documents/Git/cocos2d-x-4.0/tests/cpp-tests/Classes/Scene3DTest/Scene3DTest.cpp