osg.AutoTransform¶
-
class
osg.
AutoTransform
¶ Represents: c++ class Wraps: osg::AutoTransform Bases: osg.Transform
osg.AutoTransform
is a derived form ofosg.Transform
that automatically scales or rotates to keep its children aligned with screen coordinates.Constructors:
-
osg.
AutoTransform
()¶
Methods:
-
:
setScale
(double scale)¶ -
Параметры: scale (double) –
-
:
getMinimumScale
()¶ -
Тип результата: double
-
:
setMinimumScale
(double scale)¶ -
Параметры: scale (double) –
-
:
getMaximumScale
()¶ -
Тип результата: double
-
:
setMaximumScale
(double scale)¶ -
Параметры: scale (double) –
-
:
getAutoUpdateEyeMovementTolerance
()¶ -
Тип результата: double
-
:
setAutoUpdateEyeMovementTolerance
(double val)¶ -
Параметры: val (double) –
-
:
getAutoRotateMode
()¶ -
Тип результата: osg.AutoTransform.AutoRotateMode
-
:
setAutoRotateMode
(osg.AutoTransform.AutoRotateMode val)¶ -
Параметры: val (osg.AutoTransform.AutoRotateMode) –
-
:
setAxis
(osg.Vec3 axis)¶ Set the rotation axis for the AutoTransform’s child
osg.Node
s. Only utilized when _autoRotateMode ==osg.AutoTransform.AutoRotateMode.ROTATE_TO_AXIS
.Параметры: axis (osg.Vec3) –
-
:
setNormal
(osg.Vec3 normal)¶ This normal defines child
osg.Node
s“ front face direction when unrotated.Параметры: normal (osg.Vec3) –
-
:
getAutoScaleToScreen
()¶ -
Тип результата: bool
-
:
setAutoScaleToScreen
(bool val)¶ -
Параметры: val (bool) –
-
:
getAutoScaleTransitionWidthRatio
()¶ -
Тип результата: double
-
:
setAutoScaleTransitionWidthRatio
(double val)¶ -
Параметры: val (double) –
-
:
computeBound
()¶ -
Тип результата: osg.BoundingSphere
-