-
Notifications
You must be signed in to change notification settings - Fork 0
StaticBody2D
Namespace: Electron2D
Provides an Electron2D static 2D physics body.
public class Electron2D.StaticBody2D : Electron2D.PhysicsBody2DThis type is part of the Electron2D 0.1.0 Preview public API.
This type is not synchronized. Create and mutate nodes on the main scene thread.
This type is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
ConstantAngularVelocity |
Property | Gets or sets the constant angular velocity applied by this static body. |
ConstantLinearVelocity |
Property | Gets or sets the constant linear velocity applied by this static body. |
Electron2D.StaticBody2D() |
Constructor | Initializes a new instance of the StaticBody2D type. |
Kind: Property
public System.Single ConstantAngularVelocity { get; set; }Gets or sets the constant angular velocity applied by this static body.
This property follows the validation and lifetime rules of its declaring type.
The current constant angular velocity value.
This property is not synchronized. Mutate it on the main scene thread.
This property is available since Electron2D 0.1.0 Preview.
Electron2D.StaticBody2D
Kind: Property
public Electron2D.Vector2 ConstantLinearVelocity { get; set; }Gets or sets the constant linear velocity applied by this static body.
This property follows the validation and lifetime rules of its declaring type.
The current constant linear velocity value.
This property is not synchronized. Mutate it on the main scene thread.
This property is available since Electron2D 0.1.0 Preview.
Electron2D.StaticBody2D
Kind: Constructor
public Electron2D.StaticBody2D()Initializes a new instance of the StaticBody2D 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.StaticBody2D
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.