InlineCamera.kl

Types

InlineCamera (object)

The InlineCamera object is used to send Camera information from the host application to the InlineDrawing system and the Manipulation system.

Members

Scalar nearDistance near clipping distance
Scalar farDistance far clipping distance
Scalar focalDistance the focal distance, used to compute the center point for orbit operations.
Scalar orthographicFrustumH The height of the orthographic frustum in world units.
Mat44 projection A precomputed projection, identity by default
Vec3 goalLinearVelocity The goal linear velocity set by either a callback or a manipulator. It is the cameras responsibility to integrate these values in the update method.
Scalar linearVelocityAcceleration The acceleration used to modify the current linear velocity each update. It is the cameras responsibility to integrate these values in the update method.
Vec3 currLinearVelocity The current linear velocity computed based on the goalLinearVelocity and linearVelocityAcceleration. It is the cameras responsibility to integrate these values in the update method.
Vec3 goalAngularVelocity The goal angular velocity set by either a callback or a manipulator. It is the cameras responsibility to integrate these values in the update method.
Scalar angularVelocityAcceleration The acceleration used to modify the current angular velocity each update. It is the cameras responsibility to integrate these values in the update method.
Vec3 currAngularVelocity The current angular velocity computed based on the goalAngularVelocity and angularVelocityAcceleration. It is the cameras responsibility to integrate these values in the update method.

Methods

  InlineCamera ( in InlineCamera other )
  InlineCamera ( in Scalar fovY, in Scalar nearDistance, in Scalar farDistance, in Boolean isOrthographic )
  InlineCamera ()
InlineCamera clone ? ()
  getAxis ? ( io Vec3 xAxis, io Vec3 yAxis, io Vec3 zAxis )
Scalar getFarDistance ? ()
Scalar getFocalDistance ? ()
Scalar getFovY ? ()
Vec3 getGoalAngularVelocity ? ()
Vec3 getGoalLinearVelocity ? ()
Mat44 getMat44 ? ()
Scalar getNearDistance ? ()
Scalar getOrthographicFrustumHeight ? ()
Mat44 getProjection ? ()
Boolean isOrthographic ? ()
  setFarDistance ! ( in Scalar farDistance )
  setFocalDistance ! ( in Scalar focalDistance )
  setFovY ! ( in Scalar fovY )
  setFromMat44 ! ( in Mat44 mat44 )
  setFromPositionAndTarget ! ( in Vec3 position, in Vec3 target )
  setGoalAngularVelocity ! ( in Vec3 velocity )
  setGoalLinearVelocity ! ( in Vec3 velocity )
  setNearDistance ! ( in Scalar nearDistance )
  setOrthographic ! ( in Boolean ortho )
  setOrthographicFrustumHeight ! ( in Scalar height )
  update ! ()