Actions in omni.kit.viewport.actions#

ID

Display Name

Description

perspective_camera

Perspective Camera

Switch to Perspective Camera

top_camera

Top Camera

Switch to Top Camera

front_camera

Front Camera

Switch to Front Camera

right_camera

Right Camera

Switch to Right Camera

toggle_show_by_purpose_all

Toggle Show All Purpose

Toggle Show By Purpose - All

toggle_show_by_purpose_guide

Toggle Show Guide Purpose

Toggle Show By Purpose - Guide

toggle_show_by_purpose_proxy

Toggle Show Proxy Purpose

Toggle Show By Purpose - Proxy

toggle_show_by_purpose_render

Toggle Show Render Purpose

Toggle Show By Purpose - Render

toggle_camera_visibility

Toggle Show Cameras

Toggle Show By Type - Cameras

toggle_light_visibility

Toggle Show Lights

Toggle Show By Type - Lights

toggle_skeleton_visibility

Toggle Show Skeletons

Toggle Show By Type - Skeletons

toggle_audio_visibility

Toggle Show Audio

Toggle Show By Type - Audio

toggle_mesh_visibility

Toggle Show Meshes

Toggle Show By Type - Meshes

toggle_show_by_type_visibility

Toggle Show By Type

Toggle Show By Type - All Type Toggle

toggle_grid_visibility

Toggle Grid

Toggle drawing of grid

toggle_axis_visibility

Toggle Camera Axis

Toggle drawing of camera axis

toggle_selection_hilight_visibility

Toggle Selection Outline

Toggle drawing of selection hilight

toggle_bounding_box_visibility

Toggle Bounding Box

Toggle drawing of bounding box

toggle_global_visibility

Toggle Global Visibility

Toggle drawing of grid, HUD, audio, light, camera, and skeleton gizmos

toggle_viewport_visibility

Toggle Viewport item visibility

Toggle drawing of Viewport items by key.

toggle_camera_inertia_enabled

Toggle Camera Inertia Enabled

Toggle Camera Inertia Mode Enabled

toggle_fill_viewport

Toggle Fill Viewport

Toggle Fill Viewport Setting

toggle_lock_navigation_height

Toggle Lock Navigation Height

Toggle whether fly-mode forward/backward and up/down uses ore ignores the camera orientation.

set_viewport_resolution

Set Viewport Resolution

Set a Viewport’s resolution with a tuple or named constant.

set_renderer_rtx_realtime

Set Renderer to RTX Realtime

Set Renderer Engine to RTX Realtime

set_renderer_rtx_pathtracing

Set Renderer to RTX Pathtracing

Set Renderer Engine to RTX Pathtracing

toggle_rtx_rendermode

Toggle RTX render-mode

Toggle RTX render-mode between Realtime and Pathtracing

set_renderer_iray

Set Renderer to RTX Accurate (Iray)

Set Renderer Engine to RTX Accurate (Iray)

set_renderer_pxr_storm

Set Renderer to Pixar Storm

Set Renderer Engine to Pixar Storm

toggle_wireframe

Toggle wireframe

Toggle wireframe

toggle_hud_fps_visibility

Toggle Render FPS HUD visibility

Toggle whether render fps item is visible in HUD or not.

toggle_hud_resolution_visibility

Toggle Render Resolution HUD visibility

Toggle whether render resolution item is visible in HUD or not.

toggle_hud_progress_visibility

Toggle Render Progress HUD visibility

Toggle whether render progress item is visible in HUD or not.

toggle_hud_camera_speed_visibility

Toggle Camera Speed HUD visibility

Toggle whether camera speed HUD item is visible in HUD or not.

toggle_hud_memory_visibility

Toggle Memory Item HUD visibility

Toggle whether HUD memory items HUD are visible in HUD or not.

toggle_hud_visibility

Toggle Global HUD visibility

Toggle whether any HUD items are visible or not.