SbViewVolumeScaleWidth Method |
Scales the view volume.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntaxpublic void ScaleWidth(
float ratio
)
Public Sub ScaleWidth (
ratio As Single
)
public:
void ScaleWidth(
float ratio
)
member ScaleWidth :
ratio : float32 -> unit
Parameters
- ratio
- Type: SystemSingle
Width scale value.
Remarks
Scales view volume to be the given ratio of its current width,
leaving the resulting view volume centered about the same point
(in the near plane) as the current one.
See Also