EVosgHMD.DeviceTraits

class EVosgHMD.DeviceTraits
Represents

c++ class

Wraps

EVosgHMD::DeviceTraits

Bases

osg.Referenced

Constructors:

EVosgHMD.DeviceTraits()

Methods:

:resolution()

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

osg.Vec2

:setResolution(int w, int h)

Параметры
  • w (int) –

  • h (int) –

:screenSize()

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

osg.Vec2

:setScreenSize(osg.Vec2 aScreenSize)

Параметры

aScreenSize (osg.Vec2) –

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

osg.Vec2

:viewportSize()

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

osg.Vec2

:setViewportSize(osg.Vec2 aViewportSize)

Параметры

aViewportSize (osg.Vec2) –

:interLensDistance()

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

double

:setInterLensDistance(double aInterLensDistance)

Параметры

aInterLensDistance (double) –

:screenToLensDistance()

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

double

:setScreenToLensDistance(double aScreenToLensDistance)

Параметры

aScreenToLensDistance (double) –

:trayToLensDistance()

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

double

:setTrayToLensDistance(double aTrayToLensDistance)

Параметры

aTrayToLensDistance (double) –

:leftLensCenter()

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

osg.Vec2

:setLeftLensCenter(osg.Vec2 aLeftLensCenter)

Параметры

aLeftLensCenter (osg.Vec2) –

:rightLensCenter()

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

osg.Vec2

:setRightLensCenter(osg.Vec2 aRightLensCenter)

Параметры

aRightLensCenter (osg.Vec2) –

:distortionModel()

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

EVosgHMD.DeviceTraits.DistortionModel

:setDistortionModel(EVosgHMD.DeviceTraits.DistortionModel aModel)

Параметры

aModel (EVosgHMD.DeviceTraits.DistortionModel) –

:distortionCoeffs()

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

osg.Vec4

:setDistortionCoeffs(osg.Vec4 aDistortionCoeffs)

Параметры

aDistortionCoeffs (osg.Vec4) –

:aberrCoeffs()

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

osg.Vec3

:setAberrCoeffs(osg.Vec3 aAberrCoeffs)

Параметры

aAberrCoeffs (osg.Vec3) –

:warpScale()

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

double

:setWarpScale(double aWarpScale)

Параметры

aWarpScale (double) –

:ipd()

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

double

:setIpd(double aIpd)

Параметры

aIpd (double) –

:leftEyeModelViewMatrix()

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

osg.Matrix

:setLeftEyeModelViewMatrix(osg.Matrix aMatrix)

Параметры

aMatrix (osg.Matrix) –

:rightEyeModelViewMatrix()

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

osg.Matrix

:setRightEyeModelViewMatrix(osg.Matrix aMatrix)

Параметры

aMatrix (osg.Matrix) –

:fov()

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

double

:setFov(double aFov)

Параметры

aFov (double) –

:leftEyeProjectionMatrix()

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

osg.Matrix

:setLeftEyeProjectionMatrix(osg.Matrix aMatrix)

Параметры

aMatrix (osg.Matrix) –

:rightEyeProjectionMatrix()

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

osg.Matrix

:setRightEyeProjectionMatrix(osg.Matrix aMatrix)

Параметры

aMatrix (osg.Matrix) –