Click or drag to resize
SoCameraInteractorChangeViewVolume Method

Change camera's view volume.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void ChangeViewVolume(
	float height,
	float aspect
)

Parameters

height
Type: SystemSingle

new camera height or heightAngle

aspect
Type: SystemSingle

new camera aspect ratio

Remarks

Allows changing the view volume height and width with a single call. For a perspective camera, the height parameter is heightAngle in radians. For an orthographic camera, the height parameter is height in world coordinates.

See Also