osgParticle.ParticleSystem

class osgParticle.ParticleSystem
Represents:

c++ class

Wraps:

osgParticle::ParticleSystem

Bases:

osg.Drawable

Constructors:

osgParticle.ParticleSystem()

Methods:

:getParticleAlignment()

Тип результата:

osgParticle.ParticleSystem.Alignment

:setParticleAlignment(osgParticle.ParticleSystem.Alignment a)

Параметры:

a (osgParticle.ParticleSystem.Alignment) –

:getParticleScaleReferenceFrame()

Тип результата:

osgParticle.ParticleSystem.ParticleScaleReferenceFrame

:setParticleScaleReferenceFrame(osgParticle.ParticleSystem.ParticleScaleReferenceFrame rf)

Параметры:

rf (osgParticle.ParticleSystem.ParticleScaleReferenceFrame) –

:getDoublePassRendering()

Тип результата:

bool

:setDoublePassRendering(bool flag)

Параметры:

flag (bool) –

:getSortMode()

Тип результата:

osgParticle.ParticleSystem.SortMode

:setSortMode(osgParticle.ParticleSystem.SortMode sm)

Параметры:

sm (osgParticle.ParticleSystem.SortMode) –

:getVisibilityDistance()

Тип результата:

double

:setVisibilityDistance(double distance)

Параметры:

distance (double) –

:getDefaultParticleTemplate()

Тип результата:

osgParticle.Particle

:setDefaultParticleTemplate(osgParticle.Particle p)

Параметры:

p (osgParticle.Particle) –

:setDefaultAttributes(std.string texturefile, bool emissive, bool enableLighting, int textureUnit)

Параметры:
  • texturefile (std.string) –

  • emissive (bool) –

  • enableLighting (bool) –

  • textureUnit (int) –

:setDefaultAttributesUsingShaders(std.string texturefile, bool emissive, int textureUnit)

Параметры:
  • texturefile (std.string) –

  • emissive (bool) –

  • textureUnit (int) –