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

ViewportToolOptions

A viewport tool (plugin toolbar of the viewport).

Kindrecord
NamespaceKroys.Plugins
Members6
SourceOptions.cs
DECLARATION

Declaration

Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.

Declaration
public sealed record ViewportToolOptions(string Id, string Label)
REFERENCE

Members

Constructors
#public ViewportToolOptions(string Id, string Label)
A viewport tool (plugin toolbar of the viewport).
Id
Local id; the tool id is "<plugin id>.<Id>".
Label
Toolbar label.
constructor
Properties
#public string Id { get; init; }
Local id; the tool id is "<plugin id>.<Id>".
property
#public string Label { get; init; }
Toolbar label.
property
#public string? Icon { get; init; }
Lucide icon name.
property
#public string? Tooltip { get; init; }
Tooltip.
property
#public bool AlwaysDraw { get; init; }
Draw also while another tool is active.
property
Signatures
public ViewportToolOptions(string Id, string Label)
public string Id { get; init; }
public string Label { get; init; }
public string? Icon { get; init; }
public string? Tooltip { get; init; }
public bool AlwaysDraw { get; init; }

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.