osg.MatrixTransform

class osg.MatrixTransform
Represents

c++ class

Wraps

osg::MatrixTransform

Bases

osg.Transform

osg.MatrixTransform - is a subclass of osg.Transform which has an osg.Matrix which represents a 4x4 transformation of its children from local coordinates into the Transform’s parent coordinates.

Constructors:

osg.MatrixTransform()

Methods:

:setMatrix(osg.Matrix matrix)

Set the transform’s matrix.

Параметры

matrix (osg.Matrix) –

:getMatrix()

Get the matrix.

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

osg.Matrix

:preMult(osg.Matrix matrix)

Pre multiply the transform’s matrix.

Параметры

matrix (osg.Matrix) –

:postMult(osg.Matrix matrix)

Post multiply the transform’s matrix.

Параметры

matrix (osg.Matrix) –

:getInverseMatrix()

Get the inverse matrix.

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

osg.Matrix

:setLocalToWorldImpl(luafunction__ cb)

Параметры

cb (luafunction) –

:setWorldToLocalImpl(luafunction__ cb)

Параметры

cb (luafunction) –