generateEdges

generateEdges: undefined | false | true

Controls whether edges are generated for surfaces. Edges are only displayed if ViewFlags.renderMode is not RenderMode.SmoothShade or ViewFlags.visibleEdges is true. Since all decoration graphics except GraphicType.Scene are drawn in smooth shaded mode with no visible edges, by default edges are only produced for scene graphics, and only if ViewFlags.edgesRequired is true for the GraphicBuilderOptions.viewport. That default can be overridden by explicitly specifying true or false. This can be useful for non-scene decorations contained in a GraphicBranch that applies ViewFlagOverrides that change the edge display settings; or for scene decorations that might be cached for reuse after the viewport's edge settings are changed.

Defined in

Last Updated: 07 July, 2021