|
def | addTextureFromFile (self, fileName=None) |
|
def | addTextureFromNode (self, modelName=None, nodeName=None, sizeFromTexels=False) |
|
def | getSourceFileName (self) |
|
def | getSourceNodeName (self) |
|
def | getSourceTextureName (self) |
|
def | setSourceFileName (self, name) |
|
def | setSourceNodeName (self, name) |
|
def | setSourceTextureName (self, name) |
|
def | setTextureFromFile (self, fileName=None) |
|
def | setTextureFromNode (self, modelName=None, nodeName=None, sizeFromTexels=False) |
|
Public Member Functions inherited from SpriteParticleRenderer |
| __init__ (const SpriteParticleRenderer copy) |
| copy constructor More...
|
|
| __init__ (Texture tex) |
| constructor More...
|
|
| addFromNode (const NodePath node_path, bool size_from_texels, bool resize) |
| This will allow the renderer to randomly choose from more than one texture or sequence at particle birth. More...
|
|
| addFromNode (const NodePath node_path, str model, str node, bool size_from_texels, bool resize) |
| This will allow the renderer to randomly choose from more than one texture or sequence at particle birth. More...
|
|
| addTexture (Texture tex, float texels_per_unit, bool resize) |
| Adds texture to image pool, effectively creating a single frame animation that can be selected at particle birth. More...
|
|
BaseParticleRenderer::ParticleRendererBlendMethod | getAlphaBlendMethod () |
|
bool | getAlphaDisable () |
|
SpriteAnim | getAnim (const int n) |
|
bool | getAnimAngleFlag () |
|
bool | getAnimateFramesEnable () |
|
int | getAnimateFramesIndex () |
|
float | getAnimateFramesRate () |
|
list | getAnims () |
|
LColor | getColor () |
|
ColorInterpolationManager | getColorInterpolationManager () |
|
float | getFinalXScale () |
|
float | getFinalYScale () |
|
float | getHeight () |
| Returns the height of each particle in world units. More...
|
|
float | getInitialXScale () |
|
float | getInitialYScale () |
|
SpriteAnim | getLastAnim () |
|
LTexCoord | getLlUv () |
| Returns the UV coordinate of the lower-left corner; see set_ll_uv(). More...
|
|
LTexCoord | getLlUv (const int anim, const int frame) |
| Returns the UV coordinate of the lower-left corner; see set_ll_uv(). More...
|
|
float | getNonanimatedTheta () |
|
int | getNumAnims () |
|
Texture | getTexture () |
|
Texture | getTexture (const int anim, const int frame) |
|
LTexCoord | getUrUv () |
| Returns the UV coordinate of the lower-left corner; see set_ur_uv(). More...
|
|
LTexCoord | getUrUv (const int anim, const int frame) |
| Returns the UV coordinate of the upper-right corner; see set_ur_uv(). More...
|
|
float | getWidth () |
| Returns the width of each particle in world units. More...
|
|
bool | getXScaleFlag () |
|
bool | getYScaleFlag () |
|
| removeAnimation (const int n) |
| Removes an animation texture set from the renderer. More...
|
|
| setAlphaBlendMethod (BaseParticleRenderer::ParticleRendererBlendMethod bm) |
|
| setAlphaDisable (bool ad) |
|
| setAnimAngleFlag (bool animate_theta) |
|
| setAnimateFramesEnable (bool an) |
|
| setAnimateFramesIndex (int i) |
|
| setAnimateFramesRate (float r) |
|
| setColor (const LColor color) |
|
| setFinalXScale (float final_x_scale) |
|
| setFinalYScale (float final_y_scale) |
|
| setFromNode (const NodePath node_path, bool size_from_texels) |
| Sets the properties on this renderer from the geometry referenced by the indicated NodePath. More...
|
|
| setFromNode (const NodePath node_path, str model, str node, bool size_from_texels) |
| If the source type is important, use this one. More...
|
|
| setInitialXScale (float initial_x_scale) |
|
| setInitialYScale (float initial_y_scale) |
|
| setLlUv (const LTexCoord ll_uv) |
| Sets the UV coordinate of the lower-left corner of all the sprites generated by this renderer. More...
|
|
| setLlUv (const LTexCoord ll_uv, const int anim, const int frame) |
| Sets the UV coordinate of the lower-left corner of all the sprites generated by this renderer. More...
|
|
| setNonanimatedTheta (float theta) |
|
| setSize (float width, float height) |
| Sets the size of each particle in world units. More...
|
|
| setTexture (Texture tex, float texels_per_unit) |
| Sets the renderer up to render the entire texture image. More...
|
|
| setUrUv (const LTexCoord ur_uv) |
| Sets the UV coordinate of the upper-right corner of all the sprites generated by this renderer. More...
|
|
| setUrUv (const LTexCoord ur_uv, const int anim, const int frame) |
| Sets the UV coordinate of the upper-right corner of all the sprites generated by this renderer. More...
|
|
| setXScaleFlag (bool animate_x_ratio) |
|
| setYScaleFlag (bool animate_y_ratio) |
|
Public Member Functions inherited from BaseParticleRenderer |
BaseParticleRenderer::ParticleRendererAlphaMode | getAlphaMode () |
|
bool | getIgnoreScale () |
| Returns the "ignore scale" flag. More...
|
|
GeomNode | getRenderNode () |
| Query the geomnode pointer. More...
|
|
NodePath | getRenderNodePath () |
| Query the geomnode pointer. More...
|
|
float | getUserAlpha () |
| gets alpha for "user" alpha mode More...
|
|
| output (Ostream out) |
| Write a string representation of this instance to <out>. More...
|
|
| setAlphaMode (BaseParticleRenderer::ParticleRendererAlphaMode am) |
|
| setColorBlendMode (ColorBlendAttrib::Mode bm, ColorBlendAttrib::Operand oa, ColorBlendAttrib::Operand ob) |
| sets the ColorBlendAttrib on the _render_node More...
|
|
| setIgnoreScale (bool ignore_scale) |
| Sets the "ignore scale" flag. More...
|
|
| setUserAlpha (float ua) |
| sets alpha for "user" alpha mode More...
|
|
| write (Ostream out, int indent) |
| Write a string representation of this instance to <out>. More...
|
|
Public Member Functions inherited from ReferenceCount |
int | getRefCount () |
| Returns the current reference count. More...
|
|
| ref () |
| Explicitly increments the reference count. More...
|
|
bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus. More...
|
|
bool | testRefCountNonzero () |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
|
|
bool | unref () |
| Explicitly decrements the reference count. More...
|
|
Contains methods to extend functionality
of the SpriteParticleRenderer class