public class SoViewportClipping extends SoNode
Note that this clipping is applied in screen space after viewing and view clipping. (For OpenGL programmers, think of it as a call to glScissor.)
The clipping region also limits the effect of clearing the depth buffer using an SoDepthBuffer node.
ViewClipping {
| origin | 0 0 |
| size | 0 0 |
Action behavior:
SoGLRenderAction
Sets the clipping region. Sets: SoGLUpdateAreaElement
SoCallbackAction, SoRayPickAction
See also:
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFVec2f |
origin
Specifies the position of the clip region in pixels.
|
SoSFVec2f |
size
Specifies the size of the clip region in pixels.
|
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoViewportClipping()
Constructor.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFVec2f origin
public final SoSFVec2f size
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com