osg.MatrixTransform¶
-
class
osg.MatrixTransform¶ Represents: c++ class Wraps: osg::MatrixTransform Bases: osg.Transformosg.MatrixTransform- is a subclass ofosg.Transformwhich has anosg.Matrixwhich 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.
Parameters: matrix ( osg.Matrix) –
-
:
getMatrix()¶ Get the matrix.
Return type: osg.Matrix
-
:
preMult(osg.Matrix matrix)¶ Pre multiply the transform’s matrix.
Parameters: matrix ( osg.Matrix) –
-
:
postMult(osg.Matrix matrix)¶ Post multiply the transform’s matrix.
Parameters: matrix ( osg.Matrix) –
-
:
getInverseMatrix()¶ Get the inverse matrix.
Return type: osg.Matrix
-
:
setLocalToWorldImpl(luafunction__ cb)¶ -
Parameters: cb ( luafunction) –
-
:
setWorldToLocalImpl(luafunction__ cb)¶ -
Parameters: cb ( luafunction) –
-