osgParticle.ParticleSystem

class osgParticle.ParticleSystem
Represents:c++ class
Wraps:osgParticle::ParticleSystem
Bases:osg.Drawable

Constructors:

osgParticle.ParticleSystem()

Methods:

:getDefaultParticleTemplate()

Тип результата:osgParticle.Particle
:getDoublePassRendering()

Тип результата:bool
:getParticleAlignment()

Тип результата:osgParticle.ParticleSystem.Alignment
:getParticleScaleReferenceFrame()

Тип результата:osgParticle.ParticleSystem.ParticleScaleReferenceFrame
:getSortMode()

Тип результата:osgParticle.ParticleSystem.SortMode
:getVisibilityDistance()

Тип результата:double
: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) –
:setDefaultParticleTemplate(osgParticle.Particle p)

Параметры:p (osgParticle.Particle) –
:setDoublePassRendering(bool flag)

Параметры:flag (bool) –
:setParticleAlignment(osgParticle.ParticleSystem.Alignment a)

Параметры:a (osgParticle.ParticleSystem.Alignment) –
:setParticleScaleReferenceFrame(osgParticle.ParticleSystem.ParticleScaleReferenceFrame rf)

Параметры:rf (osgParticle.ParticleSystem.ParticleScaleReferenceFrame) –
:setSortMode(osgParticle.ParticleSystem.SortMode sm)

Параметры:sm (osgParticle.ParticleSystem.SortMode) –
:setVisibilityDistance(double distance)

Параметры:distance (double) –