TorusBuffer
Extends:
Torus geometry buffer. Draws torii.
Example:
var torusBuffer = new TorusBuffer({
position: new Float32Array([ 0, 0, 0 ]),
color: new Float32Array([ 1, 0, 0 ]),
radius: new Float32Array([ 1 ]),
majorAxis: new Float32Array([ 1, 1, 0 ]),
minorAxis: new Float32Array([ 0.5, 0, 0.5 ]),
});
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
|
Private Members | ||
private |
|
|
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
|
|
public |
|
Inherited Summary
From class Buffer | ||
public get |
|
|
public get |
|
|
public get abstract |
|
|
public get |
|
|
public set |
|
|
public get |
|
|
public get |
|
|
public get |
|
|
public get |
|
|
public get abstract |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
private |
|
|
public |
|
|
public |
|
|
public |
Free buffer resources |
|
public |
|
|
public |
|
|
public |
getMesh() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
setAttributes(data: Object) Sets buffer attributes |
|
public |
|
|
public |
setParameters(params: BufferParameters): undefined Set buffer parameters |
|
public |
|
|
public |
|
|
public |
setVisibility(value: Boolean): undefined Set buffer visibility |
|
public |
|
|
public |
|
|
public |
|
|
private |
_getMesh() |
From class MeshBuffer | ||
public get |
|
|
public get |
|
From class GeometryBuffer | ||
public get |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|