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: SoUpdateAreaElement
SoCallbackAction
, SoRayPickAction
See also:
SoNode.RenderModes
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, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFVec2f origin
public final SoSFVec2f size
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com