Vizard 8 » Command Index » Vizard objects » viewpoint » <viewpoint>.reset
8.1

<viewpoint>.reset

This command resets various states of the viewpoint

<viewpoint>.reset(  
what  
)  
what
Specifies what target to reset. Can be a combination of any of the following:

viz.HEAD_POS
viz.HEAD_ORI
viz.BODY_ORI

Remarks

Use this command to reset various states. This can be one or more combinations of the following: viz.HEAD_POS, viz.HEAD_ORI, or viz.BODY_ORI.

Note: Resetting HEAD_POS, puts the viewer at the correct eyeheight above the origin.

Return Value

None

Example

viz.MainView.reset(viz.HEAD_ORI | viz.BODY_ORI)

See also

<viewpoint>.eyeheight