osg.DrawPixels

class osg.DrawPixels
Represents

c++ class

Wraps

osg::DrawPixels

Bases

osg.Drawable

Constructors:

osg.DrawPixels()

Methods:

:setPosition(osg.Vec3 pos)

Параметры

pos (osg.Vec3) –

:getPosition()

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

osg.Vec3

:setImage(osg.Image image)

Параметры

image (osg.Image) –

:getImage()

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

osg.Image

:setUseSubImage(bool use)

Параметры

use (bool) –

:getUseSubImage()

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

bool

:setSubImageDimensions(unsigned offsetX, unsigned offsetY, unsigned width, unsigned height)

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

  • offsetY (unsigned) –

  • width (unsigned) –

  • height (unsigned) –