osg.KdTree

class osg.KdTree
Represents:

c++ class

Wraps:

osg::KdTree

Bases:

osg.Shape

Constructors:

osg.KdTree()

Methods:

:build(osg.KdTree.BuildOptions buildOptions, osg.Geometry geometry)

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

bool

:setVertices(osg.Vec3Array vertices)

Параметры:

vertices (osg.Vec3Array) –

:addPoint(unsigned p0)

Параметры:

p0 (unsigned) –

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

unsigned

:addLine(unsigned p0, unsigned p1)

Параметры:
  • p0 (unsigned) –

  • p1 (unsigned) –

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

unsigned

:addTriangle(unsigned p0, unsigned p1, unsigned p3)

Параметры:
  • p0 (unsigned) –

  • p1 (unsigned) –

  • p3 (unsigned) –

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

unsigned

:addQuad(unsigned p0, unsigned p1, unsigned p3, unsigned p4)

Параметры:
  • p0 (unsigned) –

  • p1 (unsigned) –

  • p3 (unsigned) –

  • p4 (unsigned) –

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

unsigned