SbViewportRegionSetViewport Method (SbVec2f, SbVec2f) |
Sets viewport to region with given origin (lower-left corner)
and size, given as normalized coordinate vectors.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void SetViewport(
SbVec2f origin,
SbVec2f size
)
Public Sub SetViewport (
origin As SbVec2f,
size As SbVec2f
)
public:
void SetViewport(
SbVec2f origin,
SbVec2f size
)
member SetViewport :
origin : SbVec2f *
size : SbVec2f -> unit
Parameters
- origin
- Type: OIV.InventorSbVec2f
Origin of viewport. - size
- Type: OIV.InventorSbVec2f
Size of viewport.
See Also