-
Notifications
You must be signed in to change notification settings - Fork 0
World2D
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.World2D |
| Namespace | Electron2D |
| Kind | class |
| Category | Physics |
Provides access to the 2D world associated with a canvas item.
public sealed class Electron2D.World2D : Electron2D.ResourceThe preview world object exposes a direct physics space state for queries. It does not expose backend-specific world handles.
This type is not synchronized. Use it on the main scene thread.
This type is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
DirectSpaceState |
Property | Gets the direct physics query state for this world. |
Kind: Property
public Electron2D.PhysicsDirectSpaceState2D DirectSpaceState { get; }Gets the direct physics query state for this world.
This property follows the validation and lifetime rules of its declaring type.
The current direct space state value.
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.World2D
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.