Preparing search index...
The search index is not available
ThreePipe
ThreePipe
TransformControlsPlugin
Class TransformControlsPlugin
Base Class for Sync Viewer Plugins
Hierarchy (
View Summary
)
AViewerPluginSync
<
""
>
TransformControlsPlugin
Index
Constructors
constructor
Properties
_dirty
_is
Interacting
_viewer?
_viewer
Listeners
constructor
dependencies
enabled
toJSON
transform
Controls
ui
Config?
undo
Manager?
Old
Plugin
Type?
Plugin
Type
Accessors
dirty
Methods
_on
Viewer
Event
_store
Key
center
All
Meshes
disable
dispose
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
set
Dirty
Constructors
constructor
new
TransformControlsPlugin
(
enabled
?:
boolean
)
:
TransformControlsPlugin
Parameters
enabled
:
boolean
= true
Returns
TransformControlsPlugin
Properties
Protected
_dirty
_dirty
:
boolean
= false
Protected
_is
Interacting
_isInteracting
:
boolean
= false
Protected
Optional
_viewer
_viewer
?:
ThreeViewer
Protected
_viewer
Listeners
_viewerListeners
:
{
postFrame
:
()
=>
void
}
= ...
constructor
constructor
:
typeof
AViewerPluginSync
&
typeof
AViewerPlugin
dependencies
dependencies
:
typeof
PickingPlugin
[]
= ...
enabled
enabled
:
boolean
= true
toJSON
toJSON
:
any
= undefined
transform
Controls
transformControls
:
undefined
|
TransformControls2
Optional
ui
Config
uiConfig
?:
UiObjectConfig
= undefined
Optional
undo
Manager
undoManager
?:
JSUndoManager
Static
Optional
Readonly
Old
Plugin
Type
OldPluginType
?:
string
Static
Readonly
Plugin
Type
PluginType
:
"TransformControlsPlugin"
= 'TransformControlsPlugin'
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
center
All
Meshes
centerAllMeshes
()
:
undefined
|
()
=>
void
Returns
undefined
|
()
=>
void
disable
disable
(
key
:
any
)
:
void
Parameters
key
:
any
Returns
void
dispose
dispose
()
:
void
Returns
void
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
|
TransformControlsPlugin
|
Promise
<
null
|
TransformControlsPlugin
>
Parameters
data
:
ISerializedConfig
Optional
meta
:
SerializationMetaType
Returns
null
|
TransformControlsPlugin
|
Promise
<
null
|
TransformControlsPlugin
>
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
set
Dirty
setDirty
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_dirty
_is
Interacting
_viewer
_viewer
Listeners
constructor
dependencies
enabled
toJSON
transform
Controls
ui
Config
undo
Manager
Old
Plugin
Type
Plugin
Type
Accessors
dirty
Methods
_on
Viewer
Event
_store
Key
center
All
Meshes
disable
dispose
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
set
Dirty
ThreePipe
Loading...
Base Class for Sync Viewer Plugins