Preparing search index...
The search index is not available
ThreePipe
ThreePipe
VirtualCamerasPlugin
Class VirtualCamerasPlugin
Base Class for Sync Viewer Plugins
Hierarchy (
View Summary
)
AViewerPluginSync
<
"preRenderCamera"
|
"preBlitCamera"
|
"postRenderCamera"
>
VirtualCamerasPlugin
Index
Constructors
constructor
Properties
_dirty
_viewer?
_viewer
Listeners
cameras
constructor
enabled
toJSON
ui
Config?
Old
Plugin
Type?
Plugin
Type
Accessors
dirty
Methods
_on
Viewer
Event
_store
Key
add
Camera
disable
dispose
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
set
Dirty?
Constructors
constructor
new
VirtualCamerasPlugin
(
enabled
?:
boolean
)
:
VirtualCamerasPlugin
Parameters
enabled
:
boolean
= true
Returns
VirtualCamerasPlugin
Properties
Protected
_dirty
_dirty
:
boolean
= false
Protected
Optional
_viewer
_viewer
?:
ThreeViewer
Protected
_viewer
Listeners
_viewerListeners
:
{
preRender
:
()
=>
void
}
= ...
cameras
cameras
:
VirtualCamera
[]
= []
constructor
constructor
:
typeof
AViewerPluginSync
&
typeof
AViewerPlugin
enabled
enabled
:
boolean
= true
toJSON
toJSON
:
any
= undefined
Optional
ui
Config
uiConfig
?:
UiObjectConfig
= undefined
Static
Optional
Readonly
Old
Plugin
Type
OldPluginType
?:
string
Static
Readonly
Plugin
Type
PluginType
:
"VirtualCamerasPlugin"
= 'VirtualCamerasPlugin'
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
Camera
addCamera
(
camera
:
ICamera
)
:
VirtualCamera
Parameters
camera
:
ICamera
Returns
VirtualCamera
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
|
VirtualCamerasPlugin
|
Promise
<
null
|
VirtualCamerasPlugin
>
Parameters
data
:
ISerializedConfig
Optional
meta
:
SerializationMetaType
Returns
null
|
VirtualCamerasPlugin
|
Promise
<
null
|
VirtualCamerasPlugin
>
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
Optional
set
Dirty
setDirty
(
...
args
:
any
[]
)
:
any
Parameters
...
args
:
any
[]
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_dirty
_viewer
_viewer
Listeners
cameras
constructor
enabled
toJSON
ui
Config
Old
Plugin
Type
Plugin
Type
Accessors
dirty
Methods
_on
Viewer
Event
_store
Key
add
Camera
disable
dispose
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
set
Dirty
ThreePipe
Loading...
Base Class for Sync Viewer Plugins