ViewerDrawingGeometry#

Type alias ViewerDrawingGeometry

ViewerDrawingGeometry: {
    color: [number, number, number, number];
    positions: number[];
    primitiveType: number;
    volume: [number, number, number, number, number, number];
    width?: number;
}

Type declaration

  • color: [number, number, number, number]

    Specifies the color of the Geometry.

  • positions: number[]

    Specifies the vertex positions of the Geometry.

  • primitiveType: number

    Specifies primitive type of the Geometry.

  • volume: [number, number, number, number, number, number]

    Specifies the volume of the Geometry.

  • Optional width?: number

    Specifies the width of the Geometry.

    Default

    1