Constructs a SourcePath specifying a relative path and root directory within the asset file system.
ReadonlyextensionFile extension of the path, including the leading dot.
ReadonlyfileFile name portion of the path as an Editor.Path.
ReadonlyfileFile name without extension.
ReadonlyisTrue if the path is empty or unset.
ReadonlyparentParent directory of the path as a SourcePath.
ReadonlyrelativePath relative to the project root.
ReadonlyrelativePath relative to the source root directory.
ReadonlyrootSource root directory this path is anchored to.
Returns true if the path's file extension matches the given extension string.
Returns a new SourcePath with the file name base replaced by the given string.
Returns the full path as a string.
Represents a file path within a Lens Studio project, combining a root-relative path with a source root directory.