Editor Scripting API
Lens Scripting API
Guide Docs
Preparing search index...
Editor Scripting
Editor
Model
SourcePath
Class SourcePath
Index
Constructors
constructor
Properties
extension
file
Name
file
Name
Base
is
Empty
parent
relative
To
Project
relative
To
Root
root
Directory
Methods
has
Extension
replace
File
Name
Base
to
String
Constructors
constructor
new
SourcePath
(
relativeToRoot
:
Path
,
rootDirectory
:
SourceRootDirectory
,
)
:
SourcePath
Parameters
relativeToRoot
:
Path
rootDirectory
:
SourceRootDirectory
Returns
SourcePath
Properties
Readonly
extension
extension
:
string
Readonly
file
Name
fileName
:
Path
Readonly
file
Name
Base
fileNameBase
:
string
Readonly
is
Empty
isEmpty
:
boolean
Readonly
parent
parent
:
SourcePath
Readonly
relative
To
Project
relativeToProject
:
Path
Readonly
relative
To
Root
relativeToRoot
:
Path
Readonly
root
Directory
rootDirectory
:
Path
Methods
has
Extension
hasExtension
(
extension
:
string
)
:
boolean
Parameters
extension
:
string
Returns
boolean
replace
File
Name
Base
replaceFileNameBase
(
newBaseName
:
string
)
:
SourcePath
Parameters
newBaseName
:
string
Returns
SourcePath
to
String
toString
()
:
string
Returns
string
Settings
Member Visibility
Inherited
Private
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
extension
file
Name
file
Name
Base
is
Empty
parent
relative
To
Project
relative
To
Root
root
Directory
Methods
has
Extension
replace
File
Name
Base
to
String
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...