Synced
AssetSample.Contains
Section titled “AssetSample.Contains”
- Determines whether a source path is a sample directory or is contained by one.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public static bool Inno.Assets.Pipeline.AssetSample.Contains(Inno.Assets.AssetPath path, bool isDirectory)Parameters
Section titled “Parameters”Parameter path: The isolated source path to inspect.
Parameter isDirectory: Whether the path itself represents a directory.
Returns
Section titled “Returns”true when the path belongs to an installed Plugin source and any directory segment starts with ~. Project content is never hidden from authoring import by this method.