| SoCameraInteractorChangeViewVolume Method  | 
Change camera's view volume. 
 
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntaxpublic void ChangeViewVolume(
	float height,
	float aspect
)
Public Sub ChangeViewVolume ( 
	height As Single,
	aspect As Single
)
public:
void ChangeViewVolume(
	float height, 
	float aspect
)
member ChangeViewVolume : 
        height : float32 * 
        aspect : float32 -> unit 
Parameters
- height
 - Type: SystemSingle
new camera height or heightAngle 
 - aspect
 - Type: SystemSingle
new camera aspect ratio 
 
RemarksAllows 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