Editor Scripting API
Lens Scripting API
Guide Docs
Preparing search index...
Editor Scripting
LensStudio:Preset
Preset
Class Preset
Hierarchy (
View Summary
)
IPlugin
Preset
Index
Constructors
constructor
Properties
id
plugin
System
Methods
create
create
Async
get
Type
Name
is
Of
Type
is
Same
Constructors
constructor
new
Preset
(
pluginSystem
:
PluginSystem
,
descriptor
?:
Descriptor
)
:
Preset
Parameters
pluginSystem
:
PluginSystem
Optional
descriptor
:
Descriptor
Returns
Preset
Properties
Readonly
id
id
:
string
Readonly
plugin
System
pluginSystem
:
PluginSystem
Methods
create
create
(
destination
:
Path
|
SceneObject
,
importSettings
?:
any
)
:
Entity
Parameters
destination
:
Path
|
SceneObject
Optional
importSettings
:
any
Returns
Entity
create
Async
createAsync
(
destination
:
Path
|
SceneObject
,
importSettings
?:
any
,
)
:
Promise
<
Entity
>
Parameters
destination
:
Path
|
SceneObject
Optional
importSettings
:
any
Returns
Promise
<
Entity
>
get
Type
Name
getTypeName
()
:
string
Returns
string
is
Of
Type
isOfType
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Same
isSame
(
other
:
ScriptObject
)
:
boolean
Parameters
other
:
ScriptObject
Returns
boolean
Settings
Member Visibility
Inherited
Private
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
id
plugin
System
Methods
create
create
Async
get
Type
Name
is
Of
Type
is
Same
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...