SbViewportRegionSetViewportPixels Method (SbVec2i32, SbVec2i32) |
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 SbVec2i32 origin,
ref SbVec2i32 size
)
Public Sub SetViewportPixels (
ByRef origin As SbVec2i32,
ByRef size As SbVec2i32
)
public:
void SetViewportPixels(
SbVec2i32% origin,
SbVec2i32% size
)
member SetViewportPixels :
origin : SbVec2i32 byref *
size : SbVec2i32 byref -> unit
Parameters
- origin
- Type: OIV.InventorSbVec2i32
Origin of viewport. - size
- Type: OIV.InventorSbVec2i32
Pixel's size of viewport.
See Also