Table of Contents

Class RaycastHit

Namespace
Fantas.Physics
Assembly
Fantas.dll

Represent a result of a Raycast query

public sealed class RaycastHit
Inheritance
RaycastHit
Inherited Members

Properties

Normal

The normal vector

public Vector2 Normal { get; }

Property Value

Vector2

PhysicsBody

The PhysicsBody the raycast intersect

public PhysicsBody PhysicsBody { get; }

Property Value

PhysicsBody

Point

Point of intersection

public PointF Point { get; }

Property Value

PointF