为什么这个类的很多方法设置了没有作用 ? 有大神实验过吗?
比如
void setParticleSystemScaleVelocity(float scaleVelocity)
void setDefaultWidth(const float width);
void setDefaultHeight(const float height);
void setDefaultDepth(const float depth);
void setEmittedEmitterQuota(unsigned int quota)
还有其它的 这是为什么 是做的不完善 还是我写的不对啊?
//添加3D粒子系统
rootps = PUParticleSystem3D::create(“Particle3D/scripts/example_006.pu”);
//设置粒子系统摄像机
rootps->setCameraMask((unsigned short)CameraFlag::USER1);
//设置缩放比
rootps->setScale(50.0f);
//设置位置坐标
rootps->setPosition3D(Vec3(10,10,10));
//开始播放粒子系统
rootps->startParticleSystem();
//将粒子系统添加到场景中
this->addChild(rootps);
然后 rootps -> setParticleSystemScaleVelocity(100.0f);
rootps -> setDefaultWidth(500.0f);
学生党 问题可能幼稚 大神路过帮帮忙