osg.Box

class osg.Box
Represents:

c++ class

Wraps:

osg::Box

Bases:

osg.Shape

Constructors:

osg.Box(osg.Vec3 center, double width)

Parameters:
  • center (osg.Vec3) –

  • width (double) –

Methods:

:setCenter(osg.Vec3 center)

Parameters:

center (osg.Vec3) –

:getCenter()

Return type:

osg.Vec3

:setHalfLengths(osg.Vec3 length)

Parameters:

length (osg.Vec3) –

:getHalfLengths()

Return type:

osg.Vec3

:setRotation(osg.Quat quat)

Parameters:

quat (osg.Quat) –

:getRotation()

Return type:

osg.Quat

:zeroRotation()

Return type:

bool