#include <CCPURender.h>
Public Types | |
| enum | Type { POINT, ORIENTED_COMMON, ORIENTED_SELF, ORIENTED_SHAPE, PERPENDICULAR_COMMON, PERPENDICULAR_SELF } |
| enum | Origin { TOP_LEFT, TOP_CENTER, TOP_RIGHT, CENTER_LEFT, CENTER, CENTER_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT } |
| enum | RotateType { TEXTURE_COORDS, VERTEX } |
Public Member Functions | |
| void | setType (Type type) |
| Type | getType () const |
| void | setOrigin (Origin origin) |
| var | setOrigin ( var origin) |
| local | setOrigin ( local origin) |
| Origin | getOrigin () const |
| void | setRotateType (RotateType type) |
| RotateType | getRotateType () const |
| void | setCommonDirection (const Vec3 &dir) |
| var | setCommonDirection ( var dir) |
| local | setCommonDirection ( local dir) |
| const Vec3 & | getCommonDirection () const |
| void | setCommonUp (const Vec3 &up) |
| const Vec3 & | getCommonUp () const |
| unsigned short | getTextureCoordsRows () const |
| void | setTextureCoordsRows (unsigned short textureCoordsRows) |
| unsigned short | getTextureCoordsColumns () const |
| void | setTextureCoordsColumns (unsigned short textureCoordsColumns) |
| unsigned int | getNumTextureCoords () |
| virtual void | render (Renderer *renderer, const Mat4 &transform, ParticleSystem3D *particleSystem) override |
| local | render ( local renderer, local transform, local particleSystem) |
| virtual PUParticle3DQuadRender * | clone () override |
| virtual void | copyAttributesTo (PURender *render) override |
| var | copyAttributesTo ( var render) |
| local | copyAttributesTo ( local render) |
| virtual | ~PUParticle3DQuadRender () |
Public Member Functions inherited from PUParticle3DEntityRender | |
| virtual void | setDepthTest (bool isDepthTest) override |
| var | setDepthTest ( var isDepthTest) |
| local | setDepthTest ( local isDepthTest) |
| virtual void | setDepthWrite (bool isDepthWrite) override |
| local | setDepthWrite ( local isDepthWrite) |
| virtual | ~PUParticle3DEntityRender () |
Public Member Functions inherited from PURender | |
| virtual void | prepare () |
| virtual void | unPrepare () |
| virtual void | updateRender (PUParticle3D *particle, float deltaTime, bool firstParticle) |
| local | updateRender ( local particle, local deltaTime, local firstParticle) |
| const std::string & | getRenderType (void) const |
| local | getRenderType () |
| void | setRenderType (const std::string &observerType) |
Public Member Functions inherited from Particle3DRender | |
| virtual void | notifyStart () |
| Perform activities when a Renderer is started. More... | |
| var | notifyStart () |
| Perform activities when a Renderer is started. More... | |
| local | notifyStart () |
| Perform activities when a Renderer is started. More... | |
| virtual void | notifyStop () |
| Perform activities when a Renderer is stopped. More... | |
| virtual void | notifyRescaled (const Vec3 &scale) |
| Notify that the Particle System is rescaled. More... | |
| local | notifyRescaled ( local scale) |
| Notify that the Particle System is rescaled. More... | |
| void | setVisible (bool isVisible) |
| bool | isVisible () const |
| CC_CONSTRUCTOR_ACCESS | _isVisible (true) |
| CC_CONSTRUCTOR_ACCESS | _rendererScale (Vec3::ONE) |
| CC_CONSTRUCTOR_ACCESS | _depthTest (true) |
| CC_CONSTRUCTOR_ACCESS | _depthWrite (false) |
| virtual | ~Particle3DRender () |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. More... | |
Static Public Member Functions | |
| static PUParticle3DQuadRender * | create (const std::string &texFile="") |
| var | create () |
| local | create () |
Public Attributes | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: PUParticle3DQuadRender() |
Public Attributes inherited from PUParticle3DEntityRender | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: PUParticle3DEntityRender() |
| local | __pad0__: PUParticle3DEntityRender() |
Public Attributes inherited from PURender | |
| bool | autoRotate |
Public Attributes inherited from Particle3DRender | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: Particle3DRender() : _particleSystem(nullptr) |
Protected Member Functions | |
| void | getOriginOffset (int &offsetX, int &offsetY) |
| var | getOriginOffset ( var offsetX, var offsetY) |
| local | getOriginOffset ( local offsetX, local offsetY) |
| void | determineUVCoords (PUParticle3D *particle) |
| void | fillVertex (unsigned short index, const Vec3 &pos, const Vec4 &color, const Vec2 &uv) |
| var | fillVertex ( var index, var pos, var color, var uv) |
| local | fillVertex ( local index, local pos, local color, local uv) |
| void | fillTriangle (unsigned short index, unsigned short v0, unsigned short v1, unsigned short v2) |
Protected Member Functions inherited from PUParticle3DEntityRender | |
| bool | initRender (const std::string &texFile) |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
| enum Origin |
| var Origin |
| local Origin |
| enum RotateType |
| var RotateType |
| local RotateType |
| enum Type |
| var Type |
| local Type |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Implements PURender.
|
overridevirtual |
Implements PURender.
|
overridevirtual |
Implements PURender.
|
overridevirtual |
Reimplemented from PUParticle3DEntityRender.
|
overridevirtual |
Reimplemented from PUParticle3DEntityRender.
|
overridevirtual |
Reimplemented from PUParticle3DEntityRender.
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| unsigned int getNumTextureCoords | ( | ) |
| var getNumTextureCoords | ( | ) |
| local getNumTextureCoords | ( | ) |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
| unsigned short getTextureCoordsColumns |
( | ) | const |
| var getTextureCoordsColumns | ( | ) |
| local getTextureCoordsColumns | ( | ) |
| unsigned short getTextureCoordsRows | ( | ) | const |
| var getTextureCoordsRows | ( | ) |
| local getTextureCoordsRows | ( | ) |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements Particle3DRender.
|
overridevirtual |
Implements Particle3DRender.
|
overridevirtual |
Implements Particle3DRender.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void setTextureCoordsColumns | ( | unsigned short | textureCoordsColumns | ) |
| var setTextureCoordsColumns | ( | var | textureCoordsColumns | ) |
| local setTextureCoordsColumns | ( | local | textureCoordsColumns | ) |
| void setTextureCoordsRows | ( | unsigned short | textureCoordsRows | ) |
| var setTextureCoordsRows | ( | var | textureCoordsRows | ) |
| local setTextureCoordsRows | ( | local | textureCoordsRows | ) |
| void setType | ( | Type | type | ) |
| var setType | ( | var | type | ) |
| local setType | ( | local | type | ) |
| CC_CONSTRUCTOR_ACCESS __pad0__ |
| var __pad0__ |
| local __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |