Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Tools.viewTool

public static ViewTool viewTool;

Description

The option that is currently active for the View tool in the Scene view.

The View tool has options for Orbit, Pan, Zoom and FPS, depending on which combination mouse buttons and modifier keys is used. This property reports which option is currently active.

See Also: current.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答