API ReferenceSandbox
Dooclass
A visual scripting task composed of executable blocks.
object→Doo
Constructors1
Showing 1 constructors
public Doo()
No results match this filter.
Methods8
Showing 8 methods
public void AddChild(Sandbox.Doo.Block parent, Sandbox.Doo.Block blockToInsert)
Add a block as a child of the target block's body.
| Parameter | Type | Description |
|---|---|---|
| parent | Block | — |
| blockToInsert | Block | — |
Returns:
void—public bool DeleteBlock(Sandbox.Doo.Block value)
Find and delete this block from the Doo tree.
| Parameter | Type | Description |
|---|---|---|
| value | Block | — |
Returns:
bool—public string GetLabel()
Returns a short display label describing this Doo's contents.
Returns:
string—public bool InsertAfter(Sandbox.Doo.Block target, Sandbox.Doo.Block blockToInsert)
Insert a block after the target block.
| Parameter | Type | Description |
|---|---|---|
| target | Block | — |
| blockToInsert | Block | — |
Returns:
bool—public bool InsertBefore(Sandbox.Doo.Block target, Sandbox.Doo.Block blockToInsert)
Insert a block before the target block.
| Parameter | Type | Description |
|---|---|---|
| target | Block | — |
| blockToInsert | Block | — |
Returns:
bool—public bool IsEmpty()
Returns true if this Doo has no blocks.
Returns:
bool—public static override object JsonRead(System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert)
Deserializes a Doo from JSON.
| Parameter | Type | Description |
|---|---|---|
| reader | Utf8JsonReader | — |
| typeToConvert | Type | — |
Returns:
object—public static override void JsonWrite(object value, System.Text.Json.Utf8JsonWriter writer)
Serializes a Doo to JSON.
| Parameter | Type | Description |
|---|---|---|
| value | object | — |
| writer | Utf8JsonWriter | — |
Returns:
void—No results match this filter.
Properties1
Showing 1 properties
No results match this filter.