public class MoDrawStyleElement extends SoReplacedElement
MoDrawStyle
Modifier and Type | Class and Description |
---|---|
static class |
MoDrawStyleElement.DrawStyle
Utility class to store draw style parameters.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static MoDrawStyleElement.DrawStyle |
getDefault()
Returns default draw style settings.
|
static MoDrawStyleElement.DrawStyle |
getDrawStyle(SoState state)
Returns the current draw style from the specified traversal state.
|
static float |
getFadingThreshold(SoState state)
Returns the current fading threshold from the specified traversal state.
|
static void |
set(SoState state,
MoDrawStyle ds)
Sets the current draw style for the specified traversal state and node.
|
getClassStackIndex
getClassStackIndex, pop, push
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public static void set(SoState state, MoDrawStyle ds)
state
- traversal stateds
- draw style nodepublic static MoDrawStyleElement.DrawStyle getDrawStyle(SoState state)
state
- traversal stateDrawStyle
object containing current draw style settingspublic static float getFadingThreshold(SoState state)
state
- traversal statepublic static MoDrawStyleElement.DrawStyle getDefault()
DrawStyle
object containing default draw style settingsGenerated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com