osg.Scissor

class osg.Scissor
Represents

c++ class

Wraps

osg::Scissor

Bases

osg.StateAttribute

Encapsulate OpenGL glScissor (https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glScissor.xml).

Constructors:

osg.Scissor()

Methods:

:setScissor(int x, int y, int width, int height)

Параметры
  • x (int) –

  • y (int) –

  • width (int) –

  • height (int) –

:x()

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

int

:x(int x)

Параметры

x (int) –

:y()

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

int

:y(int y)

Параметры

y (int) –

:width()

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

int

:width(int width)

Параметры

width (int) –

:height()

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

int

:height(int height)

Параметры

height (int) –