Skip to content

SceneOptions

Mithi Sevilla edited this page Sep 2, 2020 · 8 revisions
interface SceneOptions {
    paper: ModelOptions
    xyPlane?: ModelOptions
    sceneEdges?: ModelOptions
    crossLines?: ModelOptions
    edgeAxes?: AxesOptions
    worldAxes?: AxesOptions
    cubeAxes?: AxesOptions
}

interface ModelOptions {
    color: string
    opacity?: number
}

interface AxesOptions {
    intersectionPointColor: string
    intersectionPointSize?: number
    xColor: string
    yColor: string
    zColor: string
    lineSize?: number
    edgeOpacity?: number
}

The optional elements you can display in addition to your data

  • worldAxes,
  • edgeAxes
  • cubeAxes
  • xyPlane
  • crosslines
  • cubeEdges
Screen Shot 2020-08-31 at 2 41 55 PM Screen Shot 2020-08-31 at 2 42 11 PM Screen Shot 2020-08-31 at 2 42 25 PM Screen Shot 2020-08-31 at 2 42 43 PM Screen Shot 2020-08-31 at 2 42 57 PM Screen Shot 2020-08-31 at 2 47 21 PM

Each element is optional (except for paper), if you don't specify the required arguments for any of the elements, this particular element will not be shown.

Clone this wiki locally