-
Notifications
You must be signed in to change notification settings - Fork 0
PhysicsShapeQueryParameters2D
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.PhysicsShapeQueryParameters2D |
| Namespace | Electron2D |
| Kind | class |
| Category | Physics |
Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectShape(Electron2D.PhysicsShapeQueryParameters2D,System.Int32).
public sealed class Electron2D.PhysicsShapeQueryParameters2D : Electron2D.RefCountedProfile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: PhysicsShapeQueryParameters2D
Shape query parameters for direct 2D physics queries, including shape resource, transform, motion, margin, mask and excluded RIDs.
This type is part of the Electron2D 0.1.0 Preview public API.
This type is not synchronized. Mutate it on the main scene thread.
This type is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
CollideWithAreas |
Property | Gets or sets whether area objects are included. |
CollideWithBodies |
Property | Gets or sets whether body objects are included. |
CollisionMask |
Property | Gets or sets the collision layers scanned by this query. |
Exclude |
Property | Gets or sets RIDs excluded from the query. |
Margin |
Property | Gets or sets an extra margin added around the query bounds. |
Motion |
Property | Gets or sets extra motion swept into the query bounds. |
Shape |
Property | Gets or sets the shape resource used by the query. |
ShapeRid |
Property | Gets or sets the shape RID used by future production backends. |
Transform |
Property | Gets or sets the query shape transform in world coordinates. |
Electron2D.PhysicsShapeQueryParameters2D() |
Constructor | Initializes a new instance of the PhysicsShapeQueryParameters2D type. |
Kind: Property
public System.Boolean CollideWithAreas { get; set; }Gets or sets whether area objects are included.
This property follows the validation and lifetime rules of its declaring type.
The current collide with areas 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.PhysicsShapeQueryParameters2D
Kind: Property
public System.Boolean CollideWithBodies { get; set; }Gets or sets whether body objects are included.
This property follows the validation and lifetime rules of its declaring type.
The current collide with bodies 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.PhysicsShapeQueryParameters2D
Kind: Property
public System.UInt32 CollisionMask { get; set; }Gets or sets the collision layers scanned by this query.
This property follows the validation and lifetime rules of its declaring type.
The current collision mask 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.PhysicsShapeQueryParameters2D
Kind: Property
public Electron2D.Rid[] Exclude { get; set; }Gets or sets RIDs excluded from the query.
This property follows the validation and lifetime rules of its declaring type.
The current exclude 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.PhysicsShapeQueryParameters2D
Kind: Property
public System.Single Margin { get; set; }Gets or sets an extra margin added around the query bounds.
This property follows the validation and lifetime rules of its declaring type.
The current margin 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.PhysicsShapeQueryParameters2D
Kind: Property
public Electron2D.Vector2 Motion { get; set; }Gets or sets extra motion swept into the query bounds.
This property follows the validation and lifetime rules of its declaring type.
The current motion 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.PhysicsShapeQueryParameters2D
Kind: Property
public Electron2D.Shape2D Shape { get; set; }Gets or sets the shape resource used by the query.
This property follows the validation and lifetime rules of its declaring type.
The current shape 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.PhysicsShapeQueryParameters2D
Kind: Property
public Electron2D.Rid ShapeRid { get; set; }Gets or sets the shape RID used by future production backends.
This property follows the validation and lifetime rules of its declaring type.
The current shape rid 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.PhysicsShapeQueryParameters2D
Kind: Property
public Electron2D.Transform2D Transform { get; set; }Gets or sets the query shape transform in world coordinates.
This property follows the validation and lifetime rules of its declaring type.
The current transform 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.PhysicsShapeQueryParameters2D
Kind: Constructor
public Electron2D.PhysicsShapeQueryParameters2D()Initializes a new instance of the PhysicsShapeQueryParameters2D 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.PhysicsShapeQueryParameters2D
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.