SoShapeSetRasterPos Method |
Set the OpenGL raster position given an object space point.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static void SetRasterPos(
out SbVec3f pos,
SoState state
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Shared Sub SetRasterPos (
<OutAttribute> ByRef pos As SbVec3f,
state As SoState
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
static void SetRasterPos(
[OutAttribute] SbVec3f% pos,
SoState^ state
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member SetRasterPos :
pos : SbVec3f byref *
state : SoState -> unit
Parameters
- pos
- Type: OIV.InventorSbVec3f
- state
- Type: OIV.Inventor.MiscSoState
RemarksThis utility function correctly handles the case when raster position should be outside the display window, which glRasterPos does not allow. This is useful for SoText2, SoImage, etc.
See Also