SoCameraInteractorChangeViewVolume Method |
Change camera's view volume.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public 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
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