osg.MatrixTransform¶
-
class
osg.
MatrixTransform
¶ Represents: c++ class Wraps: osg::MatrixTransform Bases: osg.Transform
osg.MatrixTransform
- is a subclass ofosg.Transform
which has anosg.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
-