SceneOptions - mithi/bare-minimum-3d GitHub Wiki
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
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.