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()

Return type:

osg.Vec3

:setPosition(osg.Vec3 pos)

Parameters:

pos (osg.Vec3) –

:getRotation()

Return type:

osg.Quat

:setRotation(osg.Quat quat)

Parameters:

quat (osg.Quat) –

:getScale()

Return type:

osg.Vec3

:setScale(double scale)

Parameters:

scale (double) –

:setScaleVec(osg.Vec3 scale)

Parameters:

scale (osg.Vec3) –

:getMinimumScale()

Return type:

double

:setMinimumScale(double scale)

Parameters:

scale (double) –

:getMaximumScale()

Return type:

double

:setMaximumScale(double scale)

Parameters:

scale (double) –

:getPivotPoint()

Return type:

osg.Vec3

:setPivotPoint(osg.Vec3 val)

Parameters:

val (osg.Vec3) –

:getAutoUpdateEyeMovementTolerance()

Return type:

double

:setAutoUpdateEyeMovementTolerance(double val)

Parameters:

val (double) –

:getAutoRotateMode()

Return type:

osg.AutoTransform.AutoRotateMode

:setAutoRotateMode(osg.AutoTransform.AutoRotateMode val)

Parameters:

val (osg.AutoTransform.AutoRotateMode) –

:getAxis()

Get the rotation axis.

Return type:

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.

Parameters:

axis (osg.Vec3) –

:getNormal()

Get the front face direction normal.

Return type:

osg.Vec3

:setNormal(osg.Vec3 normal)

This normal defines child osg.Node s’ front face direction when unrotated.

Parameters:

normal (osg.Vec3) –

:getAutoScaleToScreen()

Return type:

bool

:setAutoScaleToScreen(bool val)

Parameters:

val (bool) –

:getAutoScaleTransitionWidthRatio()

Return type:

double

:setAutoScaleTransitionWidthRatio(double val)

Parameters:

val (double) –

:computeBound()

Return type:

osg.BoundingSphere

:setLocalToWorldImpl(luafunction__ cb)

Parameters:

cb (luafunction) –

:setWorldToLocalImpl(luafunction__ cb)

Parameters:

cb (luafunction) –