Editor Scripting API
Lens Scripting API
Guide Docs
Preparing search index...
Editor Scripting
Editor
IPackageRegistry
Class IPackageRegistry
Hierarchy (
View Summary
)
IPluginComponent
IPackageRegistry
Index
Properties
interface
Id
Methods
can
Pull
Update
can
Push
Update
can
Register
To
Library
get
Library
Paths
get
Type
By
Id
get
Type
By
Name
get
Type
By
Version
get
Type
Name
is
In
Library
is
In
Project
is
Of
Type
is
Same
package
Metadata
pull
Update
push
Update
register
To
Library
Properties
Static
interface
Id
interfaceId
:
InterfaceId
Methods
can
Pull
Update
canPullUpdate
(
asset
:
Editor
.
Assets
.
Asset
)
:
boolean
Parameters
asset
:
Editor
.
Assets
.
Asset
Returns
boolean
can
Push
Update
canPushUpdate
(
asset
:
Editor
.
Assets
.
Asset
)
:
boolean
Parameters
asset
:
Editor
.
Assets
.
Asset
Returns
boolean
can
Register
To
Library
canRegisterToLibrary
(
asset
:
Editor
.
Assets
.
Asset
)
:
boolean
Parameters
asset
:
Editor
.
Assets
.
Asset
Returns
boolean
get
Library
Paths
getLibraryPaths
()
:
Path
[]
Returns
Path
[]
get
Type
By
Id
getTypeById
(
uid
:
Uuid
,
entityBaseType
:
EntityBaseType
)
:
string
Parameters
uid
:
Uuid
entityBaseType
:
EntityBaseType
Returns
string
get
Type
By
Name
getTypeByName
(
name
:
string
,
entityBaseType
:
EntityBaseType
)
:
string
Parameters
name
:
string
entityBaseType
:
EntityBaseType
Returns
string
get
Type
By
Version
getTypeByVersion
(
uid
:
Uuid
,
version
:
Version
,
entityBaseType
:
EntityBaseType
,
)
:
string
Parameters
uid
:
Uuid
version
:
Version
entityBaseType
:
EntityBaseType
Returns
string
get
Type
Name
getTypeName
()
:
string
Returns
string
is
In
Library
isInLibrary
(
componentId
:
Uuid
)
:
boolean
Parameters
componentId
:
Uuid
Returns
boolean
is
In
Project
isInProject
(
componentId
:
Uuid
)
:
boolean
Parameters
componentId
:
Uuid
Returns
boolean
is
Of
Type
isOfType
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Same
isSame
(
other
:
ScriptObject
)
:
boolean
Parameters
other
:
ScriptObject
Returns
boolean
package
Metadata
packageMetadata
(
sourcePath
:
Path
)
:
PackageMetadata
Parameters
sourcePath
:
Path
Returns
PackageMetadata
pull
Update
pullUpdate
(
asset
:
Editor
.
Assets
.
Asset
)
:
void
Parameters
asset
:
Editor
.
Assets
.
Asset
Returns
void
push
Update
pushUpdate
(
asset
:
Editor
.
Assets
.
Asset
,
locked
:
boolean
)
:
void
Parameters
asset
:
Editor
.
Assets
.
Asset
locked
:
boolean
Returns
void
register
To
Library
registerToLibrary
(
asset
:
Editor
.
Assets
.
Asset
)
:
void
Parameters
asset
:
Editor
.
Assets
.
Asset
Returns
void
Settings
Member Visibility
Inherited
Private
Theme
OS
Light
Dark
On This Page
Properties
interface
Id
Methods
can
Pull
Update
can
Push
Update
can
Register
To
Library
get
Library
Paths
get
Type
By
Id
get
Type
By
Name
get
Type
By
Version
get
Type
Name
is
In
Library
is
In
Project
is
Of
Type
is
Same
package
Metadata
pull
Update
push
Update
register
To
Library
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...