Lens Scripting API
Guide Docs
Preparing search index...
The search index is not available
Editor Scripting API
Editor Scripting API
Editor
Model
Project
InterfaceProject
interface
Project
{
assetManager
:
AssetManager
;
assetsDirectory
:
Path
;
cacheDirectory
:
Path
;
history
:
ChangesStream
;
metaInfo
:
MetaInfo
;
projectDirectory
:
Path
;
projectFile
:
Path
;
scene
:
Scene
;
getTypeName
(
)
:
string
;
isOfType
(
type
:
string
)
:
boolean
;
isSame
(
other
:
ScriptObject
)
:
boolean
;
save
(
)
:
void
;
saveTo
(
absoluteFilePath
:
Path
)
:
void
;
}
Hierarchy (
view full
)
ScriptObject
Project
Index
Properties
asset
Manager
assets
Directory
cache
Directory
history
meta
Info
project
Directory
project
File
scene
Methods
get
Type
Name
is
Of
Type
is
Same
save
save
To
Properties
Readonly
asset
Manager
asset
Manager
:
AssetManager
Readonly
assets
Directory
assets
Directory
:
Path
Readonly
cache
Directory
cache
Directory
:
Path
Readonly
history
history
:
ChangesStream
meta
Info
meta
Info
:
MetaInfo
Readonly
project
Directory
project
Directory
:
Path
Readonly
project
File
project
File
:
Path
Readonly
scene
scene
:
Scene
Methods
get
Type
Name
get
Type
Name
(
)
:
string
Returns
string
is
Of
Type
is
Of
Type
(
type
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Same
is
Same
(
other
)
:
boolean
Parameters
other
:
ScriptObject
Returns
boolean
save
save
(
)
:
void
Returns
void
save
To
save
To
(
absoluteFilePath
)
:
void
Parameters
absoluteFilePath
:
Path
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
asset
Manager
assets
Directory
cache
Directory
history
meta
Info
project
Directory
project
File
scene
Methods
get
Type
Name
is
Of
Type
is
Same
save
save
To
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...