PLUGIN SDK / Registration options / AssetTypeOptions
AssetTypeOptions
A plugin asset type (Content Browser create / open / save hooks).
Kindrecord
NamespaceKroys.Plugins
Members6
Source
Options.csDECLARATION
Declaration
Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.
Declaration
public sealed record AssetTypeOptions(string Id, string DisplayName, string Extension)
REFERENCE
Members
Constructors
#public AssetTypeOptions(string Id, string DisplayName, string Extension)A plugin asset type (Content Browser create / open / save hooks).
- Id
- Local id; the asset type id is "<plugin id>.<Id>".
- DisplayName
- Name in the Content Browser (New <DisplayName>).
- Extension
- File extension with the dot (".kchecklist").
Properties
#public string Id { get; init; }Local id; the asset type id is "<plugin id>.<Id>".
#public string DisplayName { get; init; }Name in the Content Browser (New <DisplayName>).
#public string Extension { get; init; }File extension with the dot (".kchecklist").
#public bool Creatable { get; init; }Listed under Create in the Content Browser.
#public string? Icon { get; init; }Lucide icon name.
Signatures
public AssetTypeOptions(string Id, string DisplayName, string Extension) public string Id { get; init; } public string DisplayName { get; init; } public string Extension { get; init; } public bool Creatable { get; init; } public string? Icon { get; init; }
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.