Interface ChainPassOptions

Hierarchy

  • ChainPassOptions

Properties

defaultStyle?: StrokeStyle

Default style applied to strokes

drawLegend?: boolean

Draw the legend showing the mapping between color and nature for chains. Useful only if colorByNature is true.

drawRaycastPoint?: boolean

Draw the raycasting point used to determine visibility in the svg.

Default Value

false

styles?: {
    Boundary: PassStrokeStyle;
    Crease: PassStrokeStyle;
    Material: PassStrokeStyle;
    MeshIntersection: PassStrokeStyle;
    Silhouette: PassStrokeStyle;
}

Customize stroke styles depending on their nature, if value are set, they overide default style

Type declaration

  • Boundary: PassStrokeStyle
  • Crease: PassStrokeStyle
  • Material: PassStrokeStyle
  • MeshIntersection: PassStrokeStyle
  • Silhouette: PassStrokeStyle
useRandomColors?: boolean

Draw each chains in the svg with random colors.

Default Value

false

Generated using TypeDoc