C# Class MilkShakeFramework.Components.Physics.Raycast.RayCastUtils

Datei anzeigen Open project: lucas-jones/MilkShake-old

Public Properties

Property Type Description
DEBUG_MODE bool

Public Methods

Method Description
ClosestRayCast ( Vector2 pointA, Vector2 pointB, Boolean>.Func filter = null, PrimitiveRenderer lineDraw = null ) : RayCastResult
ClosestRayCastBool ( Vector2 pointA, Vector2 pointB ) : System.Boolean
ClosestRayCastPosition ( Vector2 pointA, Vector2 pointB ) : Vector2

Method Details

ClosestRayCast() public static method

public static ClosestRayCast ( Vector2 pointA, Vector2 pointB, Boolean>.Func filter = null, PrimitiveRenderer lineDraw = null ) : RayCastResult
pointA Vector2
pointB Vector2
filter Boolean>.Func
lineDraw MilkShakeFramework.Render.PrimitiveRenderer
return RayCastResult

ClosestRayCastBool() public static method

public static ClosestRayCastBool ( Vector2 pointA, Vector2 pointB ) : System.Boolean
pointA Vector2
pointB Vector2
return System.Boolean

ClosestRayCastPosition() public static method

public static ClosestRayCastPosition ( Vector2 pointA, Vector2 pointB ) : Vector2
pointA Vector2
pointB Vector2
return Vector2

Property Details

DEBUG_MODE public_oe property

public bool DEBUG_MODE
return bool