osg.AutoTransform

class osg.AutoTransform
Represents

c++ class

Wraps

osg::AutoTransform

Bases

osg.Transform

osg.AutoTransform is a derived form of osg.Transform that automatically scales or rotates to keep its children aligned with screen coordinates.

Constructors:

osg.AutoTransform()

Methods:

:getPosition()

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

osg.Vec3

:setPosition(osg.Vec3 pos)

Параметры

pos (osg.Vec3) –

:getRotation()

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

osg.Quat

:setRotation(osg.Quat quat)

Параметры

quat (osg.Quat) –

:getScale()

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

osg.Vec3

:setScale(double scale)

Параметры

scale (double) –

:setScaleVec(osg.Vec3 scale)

Параметры

scale (osg.Vec3) –

:getMinimumScale()

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

double

:setMinimumScale(double scale)

Параметры

scale (double) –

:getMaximumScale()

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

double

:setMaximumScale(double scale)

Параметры

scale (double) –

:getPivotPoint()

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

osg.Vec3

:setPivotPoint(osg.Vec3 val)

Параметры

val (osg.Vec3) –

:getAutoUpdateEyeMovementTolerance()

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

double

:setAutoUpdateEyeMovementTolerance(double val)

Параметры

val (double) –

:getAutoRotateMode()

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

osg.AutoTransform.AutoRotateMode

:setAutoRotateMode(osg.AutoTransform.AutoRotateMode val)

Параметры

val (osg.AutoTransform.AutoRotateMode) –

:getAxis()

Get the rotation axis.

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

osg.Vec3

: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) –

:getNormal()

Get the front face direction normal.

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

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

:setLocalToWorldImpl(luafunction__ cb)

Параметры

cb (luafunction) –

:setWorldToLocalImpl(luafunction__ cb)

Параметры

cb (luafunction) –