Version: 2018.2
public bool FrameSelected ();
public bool FrameSelected (bool lockView);

Parameters

lockViewWhether the view should be locked to the selection.

Returns

bool True if the selection can be encompassed in the Scene view, otherwise false.

Description

Frame the object selection in the scene view.