Click or drag to resize
SoViewportRegionElement Class

Stores the current viewport region.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.2.0 (2024.1.2)
public class SoViewportRegionElement : SoElement

The SoViewportRegionElement type exposes the following members.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns current viewport region from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Inherited from SoElement.)
Public methodStatic memberSet(SoState, SbViewportRegion)
Calls Set(state, vpReg, true).
Public methodStatic memberSet(SoState, SbViewportRegion, Boolean)

Sets the viewport region.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

This element stores the current viewport region, which indicates which part of the window is being rendered into. This information is also needed during picking and bounding box computation to determine sizes/locations of screen-space objects.

See Also