setEyePosition

fun setEyePosition(qtrn: Quaternion, eyeRight: Float, eyeUp: Float, eyeBack: Float): ArWindow

Place the ArWindow at a given eye position relative to the provided quaternion

Parameters

qtrn

The quaternion representing the orientation

eyeRight

The x-coordinate of the eye position (right)

eyeUp

The y-coordinate of the eye position (up)

eyeBack

The z-coordinate of the eye position (back)

See also


fun setEyePosition(qtrn: Quaternion, eyePosition: FloatArray): ArWindow

Place the ArWindow at a given eye position relative to the provided quaternion

Parameters

qtrn

The quaternion representing the orientation

eyePosition

Float array (3x1) representing the eye position.

See also


Place the ArWindow at the quaternion with eye position (0f, 0f, -1f)

Parameters

qtrn

The quaternion representing the orientation

See also