BaseParticleRenderer¶
from acron.physics import BaseParticleRenderer
- class BaseParticleRenderer¶
Bases:
Bases:
ReferenceCountPure virtual particle renderer base class
Inheritance diagram
digraph inheritanced8fae1f016 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BaseParticleRenderer" [URL="acron.physics.BaseParticleRenderer.html#acron.physics.BaseParticleRenderer",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ReferenceCount" -> "BaseParticleRenderer" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; }-
enum ParticleRendererAlphaMode¶
-
enumerator PR_ALPHA_NONE = 0¶
-
enumerator PR_ALPHA_OUT = 1¶
-
enumerator PR_ALPHA_IN = 2¶
-
enumerator PR_ALPHA_IN_OUT = 3¶
-
enumerator PR_ALPHA_USER = 4¶
-
enumerator PR_NOT_INITIALIZED_YET = 5¶
-
enumerator PR_ALPHA_NONE = 0¶
-
enum ParticleRendererBlendMethod¶
-
enumerator PP_NO_BLEND = 0¶
-
enumerator PP_BLEND_LINEAR = 1¶
-
enumerator PP_BLEND_CUBIC = 2¶
-
enumerator PP_NO_BLEND = 0¶
- get_alpha_mode()¶
- get_ignore_scale()¶
Returns the “ignore scale” flag. See
set_ignore_scale().
- get_render_node()¶
Query the geomnode pointer
- get_render_node_path()¶
Query the geomnode pointer
- get_user_alpha()¶
gets alpha for “user” alpha mode
- output()¶
Write a string representation of this instance to <out>.
- set_alpha_mode()¶
- set_color_blend_mode()¶
sets the
ColorBlendAttribon the _render_node
- set_ignore_scale()¶
Sets the “ignore scale” flag. When this is true, particles will be drawn as if they had no scale, regardless of whatever scale might be inherited from above the render node in the scene graph.
This flag is mainly useful to support legacy code that was written for a very early version of Acron, whose sprite particle renderer had a bug that incorrectly ignored the inherited scale.
- set_user_alpha()¶
sets alpha for “user” alpha mode
- write()¶
Write a string representation of this instance to <out>.
-
enum ParticleRendererAlphaMode¶