ktk.Player.set_view

ktk.Player.set_view#

Player.set_view(plane)[source]#

Set the current view to an orthogonal view in a given plane.

Ensure that the player’s up and anterior properties are set to the correct axes beforehand. By default, up is “y” and anterior is “x”.

Parameters:

plane (str) – Can be either “front”, “back”, “right”, “left”, “top”, “bottom” or “initial”. In the latter case, the view is reset to the initial view at Player creation.

Return type:

None