PLUGIN SDK / Registration options / ViewportToolOptions
ViewportToolOptions
A viewport tool (plugin toolbar of the viewport).
Kindrecord
NamespaceKroys.Plugins
Members6
Source
Options.csDECLARATION
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.
Properties
#public string Id { get; init; }Local id; the tool id is "<plugin id>.<Id>".
#public string Label { get; init; }Toolbar label.
#public string? Icon { get; init; }Lucide icon name.
#public string? Tooltip { get; init; }Tooltip.
#public bool AlwaysDraw { get; init; }Draw also while another tool is active.
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.