SoCameraViewAll Method (SoPath, SbViewportRegion, Single) |
Sets the camera to view the scene defined by the given path.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public void ViewAll(
SoPath path,
SbViewportRegion vpRegion,
float slack
)
Public Sub ViewAll (
path As SoPath,
vpRegion As SbViewportRegion,
slack As Single
)
public:
void ViewAll(
SoPath^ path,
SbViewportRegion vpRegion,
float slack
)
member ViewAll :
path : SoPath *
vpRegion : SbViewportRegion *
slack : float32 -> unit
Parameters
- path
- Type: OIV.InventorSoPath
- vpRegion
- Type: OIV.InventorSbViewportRegion
- slack
- Type: SystemSingle
Remarks The near and far clipping planes will be positioned slack bounding sphere radii away from the bounding box's center. A value of 1.0 will make the near and far clipping planes the tightest around the bounding sphere.
See note about bounding boxes in the sceneRoot version of this method.
See Also