SbViewportRegionSetViewportPixels Method (SbVec2s, SbVec2s) |
Sets viewport to region with given origin (lower-left corner)
and size, given as pixel coordinates.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void SetViewportPixels(
ref SbVec2s origin,
ref SbVec2s size
)
Public Sub SetViewportPixels (
ByRef origin As SbVec2s,
ByRef size As SbVec2s
)
public:
void SetViewportPixels(
SbVec2s% origin,
SbVec2s% size
)
member SetViewportPixels :
origin : SbVec2s byref *
size : SbVec2s byref -> unit
Parameters
- origin
- Type: OIV.InventorSbVec2s
Origin of viewport. - size
- Type: OIV.InventorSbVec2s
Pixel's size of viewport.
See Also