FaceMode
The face mode contains parameters which are specifically set for filled surfaces, i.e. polygons. If set, it overrides the solid and ccw settings given in the Shape's Geometry node (useful for multipass).
Inheritance
Code
XML encoding
<FaceMode logFeature='' enableOffsetFill='FALSE' enableOffsetLine='FALSE' offsetBias='0' enableOffsetPoint='FALSE' offsetFactor='0' backMode='auto' frontMode='auto' frontFace='auto' smooth='TRUE' cullFace='auto' />
Classic encoding
FaceMode { logFeature [""] enableOffsetFill FALSE enableOffsetLine FALSE offsetBias 0 enableOffsetPoint FALSE offsetFactor 0 backMode "auto" frontMode "auto" frontFace "auto" smooth TRUE cullFace "auto" }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
smooth | SFBool | inputOutput | TRUE | Defines if polygon antialiasing is used. | ||
cullFace | SFString | inputOutput | auto | [auto, none, front, back, frontAndBack] | Defines which side of the polygon is invisible. Set to none to not cull anything. | |
frontFace | SFString | inputOutput | auto | [auto, cw, ccw] | Defines which side of the polygon is considered the front side (default ccw). | |
frontMode | SFString | inputOutput | auto | [auto, point, line, fill] | Defines if polygon front sides are rendered filled (default), outlined or as points. | |
backMode | SFString | inputOutput | auto | [auto, point, line, fill] | Defines if polygon front sides are rendered filled (default), outlined or as points. | |
offsetFactor | SFFloat | inputOutput | 0 | Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. | ||
offsetBias | SFFloat | inputOutput | 0 | Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. | ||
enableOffsetPoint | SFBool | inputOutput | FALSE | Enables offsetting for points. | ||
enableOffsetLine | SFBool | inputOutput | FALSE | Enables offsetting for lines. | ||
enableOffsetFill | SFBool | inputOutput | FALSE | Enables offsetting for fill. | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |