-
Notifications
You must be signed in to change notification settings - Fork 0
PackedScene
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.PackedScene |
| Namespace | Electron2D |
| Kind | class |
| Category | Scene Tree |
Represents the packed scene type.
public class Electron2D.PackedScene : Electron2D.ResourceThis type is part of the Electron2D 0.1.0 Preview public API.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This API is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Electron2D.PackedScene() |
Constructor | Initializes a new instance of the PackedScene type. |
CanInstantiate() |
Method | Checks whether instantiate can be performed. |
Instantiate() |
Method | Executes the instantiate operation. |
Pack(Electron2D.Node) |
Method | Executes the pack operation. |
Kind: Constructor
public Electron2D.PackedScene()Initializes a new instance of the PackedScene type.
The new instance follows the lifetime and validation rules of its declaring type.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.PackedScene
Kind: Method
public System.Boolean CanInstantiate()()Checks whether instantiate can be performed.
This method follows the validation and lifetime rules of its declaring type.
true when the condition is met; otherwise, false.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.PackedScene
Kind: Method
public Electron2D.Node Instantiate()()Executes the instantiate operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.PackedScene
Kind: Method
public Electron2D.Error Pack(Electron2D.Node)(Electron2D.Node path)Executes the pack operation.
This method follows the validation and lifetime rules of its declaring type.
-
path: The path value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.PackedScene
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.