ReadonlyextensionThe extension of the file of the current path object (without dot).
ReadonlyfileThe name of the file, including its extension, in the current path object.
ReadonlyfileThe name of the file, without its extension, in the current path object.
ReadonlyisWhether the path string is empty.
ReadonlyparentA path to the parent folder of the current path object.
StaticequalsWhether the path object has a file extension in the end.
Returns a new path with the file name base replaced by the given string, preserving extension and directory.
Returns the current path as a string.
A path in the filesystem, or Asset Manager. Useful for things like importing files into Lens Studio through the Editor.Model.AssetManager.
Example