Skip to content

Get Sansar

Script API

OperationCompleteEvent

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Class Namespace Sansar.Script Inherits EventData

Many asynchronous APIs will trigger an OperationCompleteEvent when done.

public class OperationCompleteEvent : EventData

Remarks

See RigidBodyComponent.SetPosition

Members at a glance

KindMembers
ConstructorsOperationCompleteEvent
PropertiesException · Message · Success

Constructors

OperationCompleteEvent

public OperationCompleteEvent()

Default constructor

Properties

Exception

public Exception Exception { get; }

If an operation threw an exception Success will be false and the exception will be stored here.

Message

public string Message { get; }

If Success is false, Message may contain more information about the failure.

Value: string — Information about the failure.

Success

public bool Success { get; }

Whether or not the operation completed successfully.

Value: bool — true if the operation succeeded.

Used in examples

Generated from the Sansar 47.10.0 client ScriptApi snapshot.