SoDrawStyle

InventorModule

genre

InventorNodesAutomatic

author

Silicon Graphics Inc

package

MeVisLab/Standard

definition

inventor.def

Purpose

The node SoDrawStyle 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

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoDrawStyle._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Style

name: style, type: Enum, default: FILLED

Defines the 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

Sets the radius of points (for POINTS style).

Line Width

name: lineWidth, type: Float, default: 0

Sets the width of lines (for LINES style).

Line Pattern

name: linePattern, type: Integer, default: 65535

Sets a stipple pattern for lines (for LINES style). Values can range from 0x0000 (invisible) to 0xffff (solid). This specifies how dashed or dotted lines are drawn.