TexturePreviewer
texturepreview floating over the patchfield
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
paused: boolean |
|
public |
scale: number |
Private Members | ||
private |
|
|
private |
|
|
private |
_ele: * |
|
private |
|
|
private |
_enabled: boolean |
|
private |
|
|
private |
_hoveringTexPort: boolean |
|
private |
_infoStr: * |
|
private |
_lastClicked: * |
|
private |
|
|
private |
_lastTimeActivity: number |
|
private |
_listeningFrame: boolean |
|
private |
_log: * |
|
private |
_mesh: * |
|
private |
_mode: * |
|
private |
_paused: boolean |
|
private |
_shader: * |
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
_showing: boolean |
|
private |
|
|
private |
|
|
private |
_texturePorts: *[] |
|
private |
_timer: * |
Method Summary
Public Methods | ||
public |
deserialize(o: *) |
|
public |
drawVizLayer(vizCtx: *) |
|
public |
|
|
public |
gotoOp() |
|
public |
hide() |
|
public |
hover(p: *) |
|
public |
hoverEnd() |
|
public |
needsVizLayer(): * |
|
public |
|
|
public |
render() |
|
public |
selectTexturePort(p: *) |
|
public |
selectTexturePortId(opid: *, portid: *) |
|
public |
serialize(): * |
|
public |
setSize(size: *) |
|
public |
|
|
public |
toggleSize(m: *) |
|
public |
updateTexturePort(port: *): * |
Private Methods | ||
private |
_getCanvasSize(port: *, tex: *, meta: *): undefined[] |
|
private |
_htmlDataObject(o: *): {"title": *, "id": *, "opid": *, "order": *, "size": *} |
|
private |
|
|
private |
_renderTexture(tp: *, element: *) |
|
private |
_showInfo(tex: *) |
Public Constructors
public constructor() source
Public Members
public paused: boolean source
public scale: number source
Private Members
private _currentHeight: * source
private _currentWidth: * source
private _ele: * source
private _emptyCubemap: * source
private _enabled: boolean source
private _hoverTimeout: * source
private _hoveringTexPort: boolean source
private _infoStr: * source
private _lastClicked: * source
private _lastClickedP: * source
private _lastTimeActivity: number source
private _listeningFrame: boolean source
private _log: * source
private _mesh: * source
private _mode: * source
private _paused: boolean source
private _shader: * source
private _shaderTexCubemapUniform: * source
private _shaderTexUniform: * source
private _shaderTexUniformH: * source
private _shaderTexUniformW: * source
private _shaderTimeUniform: * source
private _shaderTypeUniform: * source
private _showing: boolean source
private _tempOldTexPort: * source
private _tempTexturePort: * source
private _texturePorts: *[] source
private _timer: * source
Public Methods
public deserialize(o: *) source
Params:
Name | Type | Attribute | Description |
o | * |
public drawVizLayer(vizCtx: *) source
Params:
Name | Type | Attribute | Description |
vizCtx | * |
public enableBgPreview() source
public gotoOp() source
public hide() source
public hover(p: *) source
Params:
Name | Type | Attribute | Description |
p | * |
public hoverEnd() source
public pressedEscape() source
public render() source
public selectTexturePort(p: *) source
Params:
Name | Type | Attribute | Description |
p | * |
public selectTexturePortId(opid: *, portid: *) source
Params:
Name | Type | Attribute | Description |
opid | * | ||
portid | * |
public setSize(size: *) source
Params:
Name | Type | Attribute | Description |
size | * |
public showActivity() source
public toggleSize(m: *) source
Params:
Name | Type | Attribute | Description |
m | * |
Private Methods
private _getCanvasSize(port: *, tex: *, meta: *): undefined[] source
Params:
Name | Type | Attribute | Description |
port | * | ||
tex | * | ||
meta | * |
Return:
undefined[] |
private _htmlDataObject(o: *): {"title": *, "id": *, "opid": *, "order": *, "size": *} source
Params:
Name | Type | Attribute | Description |
o | * |
Return:
{"title": *, "id": *, "opid": *, "order": *, "size": *} |
private _initListener() source
private _renderTexture(tp: *, element: *) source
Params:
Name | Type | Attribute | Description |
tp | * | ||
element | * |
private _showInfo(tex: *) source
Params:
Name | Type | Attribute | Description |
tex | * |