public class MoMaterial extends MoActionNode
This node specifies the coloring to be used in subsequent nodes inheriting
from MoMeshRepresentation
and defining a surface.
Specifically the face, edge and point coloring methods which can be uniform
or contouring:
MoColorMapping
) to
display color contours
MoMaterialElement
Modifier and Type | Class and Description |
---|---|
static class |
MoMaterial.ColoringType
Color Coloring type
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFColor |
faceColor
Uniform color used for faces when
faceColoring is set to
COLOR . |
SoSFEnum<MoMaterial.ColoringType> |
faceColoring
The coloring method for faces.
|
SoSFColor |
lineColor
Uniform color used for lines and edges when
lineColoring is set to
COLOR . |
SoSFEnum<MoMaterial.ColoringType> |
lineColoring
The coloring method for lines.
|
SoSFColor |
pointColor
Uniform color used for points when
pointColoring is set to
COLOR . |
SoSFEnum<MoMaterial.ColoringType> |
pointColoring
The coloring method for points.
|
SoSFFloat |
transparency
Transparency value used to display surfaces.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
MoMaterial()
Constructs a property node with color and coloring options set to default
values.
|
Modifier and Type | Method and Description |
---|---|
void |
doAction(SoAction action) |
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPick
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoSFEnum<MoMaterial.ColoringType> faceColoring
CONTOURING
.public SoSFColor faceColor
faceColoring
is set to
COLOR
. The default value is white: (1,1,1)
.public SoSFEnum<MoMaterial.ColoringType> lineColoring
CONTOURING
.public SoSFColor lineColor
lineColoring
is set to
COLOR
. The default value is red: (1,0,0)
.public SoSFEnum<MoMaterial.ColoringType> pointColoring
CONTOURING
.public SoSFColor pointColor
pointColoring
is set to
COLOR
. The default value is green: (0,1,0)
.public SoSFFloat transparency
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com