-
Notifications
You must be signed in to change notification settings - Fork 0
PhysicsRayQueryParameters2D
Namespace: Electron2D
Stores parameters for Electron2D.PhysicsDirectSpaceState2D.IntersectRay(Electron2D.PhysicsRayQueryParameters2D).
public sealed class Electron2D.PhysicsRayQueryParameters2D : Electron2D.RefCountedThis 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. |
From |
Property | Gets or sets the ray start point in world coordinates. |
HitFromInside |
Property | Gets or sets whether a ray starting inside a shape reports a hit. |
To |
Property | Gets or sets the ray end point in world coordinates. |
Electron2D.PhysicsRayQueryParameters2D() |
Constructor | Initializes a new instance of the PhysicsRayQueryParameters2D 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.PhysicsRayQueryParameters2D
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.PhysicsRayQueryParameters2D
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.PhysicsRayQueryParameters2D
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.PhysicsRayQueryParameters2D
Kind: Property
public Electron2D.Vector2 From { get; set; }Gets or sets the ray start point in world coordinates.
This property follows the validation and lifetime rules of its declaring type.
The current from 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.PhysicsRayQueryParameters2D
Kind: Property
public System.Boolean HitFromInside { get; set; }Gets or sets whether a ray starting inside a shape reports a hit.
This property follows the validation and lifetime rules of its declaring type.
The current hit from inside 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.PhysicsRayQueryParameters2D
Kind: Property
public Electron2D.Vector2 To { get; set; }Gets or sets the ray end point in world coordinates.
This property follows the validation and lifetime rules of its declaring type.
The current to 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.PhysicsRayQueryParameters2D
Kind: Constructor
public Electron2D.PhysicsRayQueryParameters2D()Initializes a new instance of the PhysicsRayQueryParameters2D 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.PhysicsRayQueryParameters2D
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.