KROYSDOCS
HomeWhat's newv0.1.0
PLUGIN SDK / Registration options / AssetTypeOptions

AssetTypeOptions

A plugin asset type (Content Browser create / open / save hooks).

Kindrecord
NamespaceKroys.Plugins
Members6
SourceOptions.cs
DECLARATION

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").
constructor
Properties
#public string Id { get; init; }
Local id; the asset type id is "<plugin id>.<Id>".
property
#public string DisplayName { get; init; }
Name in the Content Browser (New <DisplayName>).
property
#public string Extension { get; init; }
File extension with the dot (".kchecklist").
property
#public bool Creatable { get; init; }
Listed under Create in the Content Browser.
property
#public string? Icon { get; init; }
Lucide icon name.
property
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.