PLUGIN SDK / Jobs and tasks / TaskProgress
TaskProgress
A running editor task (worker thread).
Kindclass
NamespaceKroys.Plugins
Members3
Source
Options.csDECLARATION
Declaration
Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.
Declaration
public sealed unsafe class TaskProgress
REFERENCE
Members
Properties
#public bool IsCancelled { get; }The user cancelled the task (throw
OperationCanceledException or return).Methods
#public void Report(float fraction, string stage)Progress 0..1 and the stage text in the Tasks panel.
#public void Fail(string message)Fails the task with a message.
Signatures
public bool IsCancelled { get; } public void Report(float fraction, string stage) public void Fail(string message)
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.