SbViewVolumeNarrow Method (Single, Single, Single, Single) |
Narrows the view to the given sub-rectangle.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public SbViewVolume Narrow(
float left,
float bottom,
float right,
float top
)
Public Function Narrow (
left As Single,
bottom As Single,
right As Single,
top As Single
) As SbViewVolume
public:
SbViewVolume Narrow(
float left,
float bottom,
float right,
float top
)
member Narrow :
left : float32 *
bottom : float32 *
right : float32 *
top : float32 -> SbViewVolume
Parameters
- left
- Type: SystemSingle
Left coordinate. - bottom
- Type: SystemSingle
Bottom coordinate. - right
- Type: SystemSingle
Right coordinate. - top
- Type: SystemSingle
Top coordinate.
Return Value
Type:
SbViewVolumeNarrowed view volume.
Remarks
Given a view volume, narrows the view to the given sub-rectangle
of the near plane. The coordinates of the rectangle are between
0 and 1, where (0,0) is the lower-left corner of the near plane
and (1,1) is the upper-right corner.
See Also