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(
ref SbVec2f origin,
ref SbVec2f size
)
Public Sub SetViewport (
ByRef origin As SbVec2f,
ByRef size As SbVec2f
)
public:
void SetViewport(
SbVec2f% origin,
SbVec2f% size
)
member SetViewport :
origin : SbVec2f byref *
size : SbVec2f byref -> unit
Parameters
- origin
- Type: OIV.InventorSbVec2f
Origin of viewport. - size
- Type: OIV.InventorSbVec2f
Size of viewport.
See Also