SoDrawStyle
-
InventorModule
-
Purpose
This node defines the current drawing style for all subsequent shape nodes in a scene graph.
SoDrawStyle
specifies how primitives should be rendered. The drawing style has no effect on picking or callback primitive generation.
Windows
Default Panel
Output Fields
self
-
name:
self
, type:
SoNode
Parameter Fields
Visible Fields
Style
-
name:
style
, type:
Enum
, default:
FILLED
Choose drawing style
Values:
Title |
Name |
Description |
Filled |
FILLED |
Draw filled regions. |
Lines |
LINES |
Draw only outlines (wire frame). |
Points |
POINTS |
Draw points at vertices. |
Invisible |
INVISIBLE |
Do not draw anything at all. |
Point Size
-
name:
pointSize
, type:
Float
, default:
0
Radius of points (for POINTS style).
Line Width
-
name:
lineWidth
, type:
Float
, default:
0
Width of lines (for LINES style).
Line Pattern
-
name:
linePattern
, type:
Integer
, default:
65535
Stipple pattern for lines (for LINES style). Values can range from 0x0000 (invisible) to 0xffff (solid). This specifies how dashed or dotted lines will be drawn.