ViewerDrawingGeometry¶
Interface ViewerDrawingGeometry
interface ViewerDrawingGeometry {
color: [number, number, number, number];
positions: number[];
primitiveType: number;
slices?: number[];
volume: [number, number, number, number, number, number];
width?: number;
}
color: [number, number, number, number];
positions: number[];
primitiveType: number;
slices?: number[];
volume: [number, number, number, number, number, number];
width?: number;
}
color
color: [number, number, number, number]
positions
positions: number[]
Specifies the vertex positions of the Geometry.
primitive
primitiveType: number
Specifies primitive type of the Geometry.
Optionalslices
slices?: number[]
Specifies a partition of the vertex list into contiguous sub-ranges (slices).
volume
volume: [number, number, number, number, number, number]
Specifies the volume of the Geometry.
Optionalwidth
width?: number
Specifies the width of the Geometry.
Specifies the color of the Geometry.