Preparing search index...
The search index is not available
ThreePipe
ThreePipe
GeometryUVPreviewPlugin
Class GeometryUVPreviewPlugin<TEvent>
Base Class for Sync Viewer Plugins
Type Parameters
TEvent
extends
string
Hierarchy (
View Summary
)
AViewerPluginSync
<
TEvent
>
GeometryUVPreviewPlugin
Index
Constructors
constructor
Properties
_dirty
_viewer?
_viewer
Listeners
constructor
enabled
main
Div
stylesheet?
target
Blocks
toJSON
ui
Config?
Old
Plugin
Type?
Plugin
Type
Accessors
dirty
Methods
_on
Viewer
Event
_store
Key
add
Geometry
disable
dispose
download
GeometryUV
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
refresh
Ui
remove
Geometry
set
Dirty
Constructors
constructor
new
GeometryUVPreviewPlugin
<
TEvent
extends
string
>
(
enabled
?:
boolean
,
)
:
GeometryUVPreviewPlugin
<
TEvent
>
Type Parameters
TEvent
extends
string
Parameters
enabled
:
boolean
= true
Returns
GeometryUVPreviewPlugin
<
TEvent
>
Properties
Protected
_dirty
_dirty
:
boolean
= false
Protected
Optional
_viewer
_viewer
?:
ThreeViewer
Protected
_viewer
Listeners
_viewerListeners
:
PartialRecord
<
|
"dispose"
|
"*"
|
"update"
|
"preRender"
|
"postRender"
|
"preFrame"
|
"postFrame"
|
"addPlugin"
|
"removePlugin"
|
"renderEnabled"
|
"renderDisabled"
,
(
e
:
IViewerEvent
)
=>
void
,
>
= {}
constructor
constructor
:
typeof
AViewerPluginSync
&
typeof
AViewerPlugin
enabled
enabled
:
boolean
= true
main
Div
mainDiv
:
HTMLDivElement
= ...
Optional
stylesheet
stylesheet
?:
HTMLStyleElement
target
Blocks
targetBlocks
:
TargetBlock
[]
= []
toJSON
toJSON
:
any
= null
Optional
ui
Config
uiConfig
?:
UiObjectConfig
= undefined
Static
Optional
Readonly
Old
Plugin
Type
OldPluginType
?:
string
Static
Readonly
Plugin
Type
PluginType
:
"GeometryUVPreviewPlugin"
= 'GeometryUVPreviewPlugin'
Accessors
dirty
get
dirty
()
:
boolean
Returns
boolean
set
dirty
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
Methods
Protected
_on
Viewer
Event
_onViewerEvent
(
e
:
IViewerEvent
)
:
IViewerEvent
Parameters
e
:
IViewerEvent
Returns
IViewerEvent
Protected
_store
Key
_storeKey
(
prefix
?:
string
)
:
string
Parameters
Optional
prefix
:
string
Returns
string
add
Geometry
addGeometry
(
target
:
ValOrFunc
<
undefined
|
IGeometry
>
,
name
:
string
,
visible
?:
boolean
,
)
:
this
Parameters
target
:
ValOrFunc
<
undefined
|
IGeometry
>
name
:
string
visible
:
boolean
= true
Returns
this
disable
disable
(
key
:
any
)
:
void
Parameters
key
:
any
Returns
void
dispose
dispose
()
:
void
Returns
void
download
GeometryUV
downloadGeometryUV
(
targetDef
:
TargetBlock
)
:
this
Parameters
targetDef
:
TargetBlock
Returns
this
enable
enable
(
key
:
any
)
:
void
Parameters
key
:
any
Returns
void
export
State
exportState
()
:
ISerializedConfig
|
Record
<
string
,
never
>
Returns
ISerializedConfig
|
Record
<
string
,
never
>
fromJSON
fromJSON
(
data
:
ISerializedConfig
,
meta
?:
SerializationMetaType
,
)
:
|
null
|
GeometryUVPreviewPlugin
<
TEvent
>
|
Promise
<
null
|
GeometryUVPreviewPlugin
<
TEvent
>
>
Parameters
data
:
ISerializedConfig
Optional
meta
:
SerializationMetaType
Returns
|
null
|
GeometryUVPreviewPlugin
<
TEvent
>
|
Promise
<
null
|
GeometryUVPreviewPlugin
<
TEvent
>
>
import
State
importState
(
state
:
any
)
:
Promise
<
void
>
Parameters
state
:
any
Returns
Promise
<
void
>
is
Disabled
isDisabled
()
:
boolean
Returns
boolean
on
Added
onAdded
(
viewer
:
ThreeViewer
)
:
void
Parameters
viewer
:
ThreeViewer
Returns
void
on
Remove
onRemove
(
viewer
:
ThreeViewer
)
:
void
Parameters
viewer
:
ThreeViewer
Returns
void
refresh
Ui
refreshUi
()
:
void
Returns
void
remove
Geometry
removeGeometry
(
target
:
ValOrFunc
<
undefined
|
IGeometry
>
)
:
this
Parameters
target
:
ValOrFunc
<
undefined
|
IGeometry
>
Returns
this
set
Dirty
setDirty
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_dirty
_viewer
_viewer
Listeners
constructor
enabled
main
Div
stylesheet
target
Blocks
toJSON
ui
Config
Old
Plugin
Type
Plugin
Type
Accessors
dirty
Methods
_on
Viewer
Event
_store
Key
add
Geometry
disable
dispose
download
GeometryUV
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
refresh
Ui
remove
Geometry
set
Dirty
ThreePipe
Loading...
Base Class for Sync Viewer Plugins