SvgOverlay
A SVG overlay that is synced with the WebGL viewport for efficiently rendering two-dimensional elements such as text, that are not easily rendered using WebGL.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
aspect: * |
|
| public |
|
|
| public |
camera: * |
|
| public |
centerPoint: * |
|
| public |
|
|
| public |
|
|
| public |
tmp: * |
|
| public |
track: * |
|
| public |
|
|
| public |
wh: * |
|
| Private Members | ||
| private |
_orbitCenter: * |
|
Method Summary
| Public Methods | ||
| public |
addMeasurement(point: *, normal: *, constrain: *): * |
|
| public |
create(tag: *, attrs: *, style: *, parent: *): * |
|
| public |
createWorldSpacePolyline(points: *): * |
|
| public |
resize() |
|
| public |
toString(t: *): * |
|
| public |
transformPoint(p: *): * |
|
| public |
update() |
|
Public Constructors
public constructor() source
Public Members
public aspect: * source
public camera: * source
public centerPoint: * source
public tmp: * source
public track: * source
public wh: * source
Private Members
private _orbitCenter: * source
Public Methods
public addMeasurement(point: *, normal: *, constrain: *): * source
Params:
| Name | Type | Attribute | Description |
| point | * | ||
| normal | * | ||
| constrain | * |
Return:
| * |
public create(tag: *, attrs: *, style: *, parent: *): * source
Params:
| Name | Type | Attribute | Description |
| tag | * | ||
| attrs | * | ||
| style | * | ||
| parent | * |
Return:
| * |
public createWorldSpacePolyline(points: *): * source
Params:
| Name | Type | Attribute | Description |
| points | * |
Return:
| * |
