Version: 1.4
LanguageEnglish
  • C#

SceneView.Frame

Declaration

public bool Frame(Bounds bounds, bool instant);

Parameters

bounds The bounds to frame in the Scene view.
instant Set to true to immediately frame the camera. Set to false to animate the action.

Returns

bool Returns true if the given bounds can be encompassed in the Scene view. Returns false otherwise.

Description

Frames the given bounds in the Scene view.


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