Interface: walkThroughOps

The WalkThroughOps Interface provides access to the Walkthrough viewport navigation mode.

 

Interface: walkThroughOps

Properties:

.isEnabled : bool : Read

Returns true if walkthrough mode is enabled, false otherwise.

.isActive : bool : Read

Returns true if the walkthrough mode is active, false otherwise.

.stepSize : float : Read|Write

Get/Set the step size value which controls the linear speed.

.sensitivity : float : Read|Write

Get/Set the sensitivity value which controls the angular speed the higher the value, the faster the Pitch and Yaw.

.invertVertical : bool : Read|Write

When set to true, the vertical axis will be inverted - moving the mouse up will Pitch the camera up, moving the mouse down will Pitch down. When set to false (default), moving the mouse pointer up will rotate the camera to look down and vice-versa.

.lockVertical : bool : Read|Write

When set to true, no Pitch will be allowed. When set to false (default), looking up and down will be possible.

.lockHorizontal : bool : Read|Write

When set to true, no Yaw will be allowed. When set to false (default), looking left and right will be possible.

.accelerate : bool : Read|Write

When set to true, the linear speed will be adjusted relatively to the size of the scene. When false (default), the absolute step size will be used.

Methods:

<void>start()

Enables the walkthrough mode.

<void>stop()

Disables the walkthrough mode.

<void>level()

Aligns the view vector to be parallel to the XY world plane.

<void>resetStepSize()

Resets the Step Size to the default value.

 

See also

Other Interfaces