osgParticle.ParticleSystem¶
-
class
osgParticle.ParticleSystem¶ Represents: c++ class Wraps: osgParticle::ParticleSystem Bases: osg.DrawableConstructors:
-
osgParticle.ParticleSystem()¶
Methods:
-
:
getParticleAlignment()¶ -
Return type: osgParticle.ParticleSystem.Alignment
-
:
setParticleAlignment(osgParticle.ParticleSystem.Alignment a)¶ -
Parameters: a ( osgParticle.ParticleSystem.Alignment) –
-
:
getParticleScaleReferenceFrame()¶ -
Return type: osgParticle.ParticleSystem.ParticleScaleReferenceFrame
-
:
setParticleScaleReferenceFrame(osgParticle.ParticleSystem.ParticleScaleReferenceFrame rf)¶ -
Parameters: rf ( osgParticle.ParticleSystem.ParticleScaleReferenceFrame) –
-
:
getDoublePassRendering()¶ -
Return type: bool
-
:
setDoublePassRendering(bool flag)¶ -
Parameters: flag ( bool) –
-
:
getSortMode()¶ -
Return type: osgParticle.ParticleSystem.SortMode
-
:
setSortMode(osgParticle.ParticleSystem.SortMode sm)¶ -
Parameters: sm ( osgParticle.ParticleSystem.SortMode) –
-
:
getVisibilityDistance()¶ -
Return type: double
-
:
setVisibilityDistance(double distance)¶ -
Parameters: distance ( double) –
-
:
getDefaultParticleTemplate()¶ -
Return type: osgParticle.Particle
-
:
setDefaultParticleTemplate(osgParticle.Particle p)¶ -
Parameters: p ( osgParticle.Particle) –
-
:
setDefaultAttributes(std.string texturefile, bool emissive, bool enableLighting, int textureUnit)¶ -
Parameters: - texturefile (
std.string) – - emissive (
bool) – - enableLighting (
bool) – - textureUnit (
int) –
- texturefile (
-
:
setDefaultAttributesUsingShaders(std.string texturefile, bool emissive, int textureUnit)¶ -
Parameters: - texturefile (
std.string) – - emissive (
bool) – - textureUnit (
int) –
- texturefile (
-