Properties
backMeshes
backMeshes: (LineSegments | Mesh)[] = []
frontMeshes
frontMeshes: (LineSegments | Mesh)[] = []
geometry
geometry: BufferGeometry
group
group: Group = new Group()
pickingGroup
pickingGroup: Group = new Group()
wireframe
wireframe: boolean
wireframeGroup
wireframeGroup: Group = new Group()
A double-sided mesh buffer. Takes a buffer and renders the front and the back as seperate objects to avoid some artifacts when rendering transparent meshes. Also allows to render the back of a mesh opaque while the front is transparent.
{Buffer}
var sphereGeometryBuffer = new SphereGeometryBuffer({ position: new Float32Array([ 0, 0, 0 ]), color: new Float32Array([ 1, 0, 0 ]), radius: new Float32Array([ 1 ]) }); var doubleSidedBuffer = new DoubleSidedBuffer(sphereGeometryBuffer);