Preparing search index...
The search index is not available
ThreePipe
ThreePipe
VirtualCamerasPlugin
Class VirtualCamerasPlugin
Base Class for Sync Viewer Plugins
Hierarchy (
view full
)
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
Virtual
Cameras
Plugin
(
enabled
?
)
:
VirtualCamerasPlugin
Parameters
enabled
:
boolean
= true
Returns
VirtualCamerasPlugin
Properties
Protected
_dirty
_dirty
:
boolean
= false
Protected
Optional
_viewer
_viewer
?:
ThreeViewer
Protected
_viewer
Listeners
_viewer
Listeners
:
{
preRender
:
(
(
)
=>
void
)
;
}
= ...
Type declaration
pre
Render
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
cameras
cameras
:
VirtualCamera
[]
= []
constructor
constructor
:
typeof
AViewerPluginSync
&
typeof
AViewerPlugin
enabled
enabled
:
boolean
= true
toJSON
toJSON
:
any
= undefined
Optional
ui
Config
ui
Config
?:
UiObjectConfig
<
any
,
string
,
any
>
= undefined
Static
Optional
Readonly
Old
Plugin
Type
Old
Plugin
Type
?:
string
Static
Readonly
Plugin
Type
Plugin
Type
:
"VirtualCamerasPlugin"
= 'VirtualCamerasPlugin'
Accessors
dirty
get
dirty
(
)
:
boolean
Returns
boolean
set
dirty
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
Methods
Protected
_on
Viewer
Event
_on
Viewer
Event
(
e
)
:
IViewerEvent
Parameters
e
:
IViewerEvent
Returns
IViewerEvent
Protected
_store
Key
_store
Key
(
prefix
?
)
:
string
Parameters
Optional
prefix
:
string
Returns
string
add
Camera
add
Camera
(
camera
)
:
VirtualCamera
Parameters
camera
:
ICamera
<
ICameraEvent
,
ICameraEventTypes
>
Returns
VirtualCamera
disable
disable
(
key
)
:
void
Parameters
key
:
any
Returns
void
dispose
dispose
(
)
:
void
Returns
void
enable
enable
(
key
)
:
void
Parameters
key
:
any
Returns
void
export
State
export
State
(
)
:
ISerializedConfig
|
Record
<
string
,
never
>
Returns
ISerializedConfig
|
Record
<
string
,
never
>
fromJSON
fromJSON
(
data
,
meta
?
)
:
null
|
VirtualCamerasPlugin
|
Promise
<
null
|
VirtualCamerasPlugin
>
Parameters
data
:
ISerializedConfig
Optional
meta
:
SerializationMetaType
Returns
null
|
VirtualCamerasPlugin
|
Promise
<
null
|
VirtualCamerasPlugin
>
import
State
import
State
(
state
)
:
Promise
<
void
>
Parameters
state
:
any
Returns
Promise
<
void
>
is
Disabled
is
Disabled
(
)
:
boolean
Returns
boolean
on
Added
on
Added
(
viewer
)
:
void
Parameters
viewer
:
ThreeViewer
Returns
void
on
Remove
on
Remove
(
viewer
)
:
void
Parameters
viewer
:
ThreeViewer
Returns
void
Optional
set
Dirty
set
Dirty
(
...
args
)
:
any
Parameters
Rest
...
args
:
any
[]
Returns
any
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
_dirty
_viewer
_viewer
Listeners
cameras
constructor
enabled
toJSON
ui
Config
Old
Plugin
Type
Plugin
Type
dirty
_on
Viewer
Event
_store
Key
add
Camera
disable
dispose
enable
export
State
fromJSON
import
State
is
Disabled
on
Added
on
Remove
set
Dirty
ThreePipe
FragmentClippingMode
AAssetManagerProcessStatePlugin
ACameraControlsPlugin
ACameraHelperWidget
AHelperWidget
ALightHelperWidget
AScreenPassExtensionPlugin
AViewerPlugin
AViewerPluginAsync
AViewerPluginSync
AmbientLight2
AssetExporter
AssetExporterPlugin
AssetImporter
AssetManager
BaseGroundPlugin
BaseImporterPlugin
Box3B
BoxSelectionWidget
BufferGeometry2
CameraHelper2
Loading...
Generated using
TypeDoc
Base Class for Sync Viewer Plugins