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.


Did you find this page useful? Please give it a rating: