C# Class Ensage.Common.Extensions.SharpDX.IntersectionResult

Holds info for the Vector2Extensions.Intersection method.
显示文件 Open project: EnsageSharp/Ensage.Common

Public Properties

Property Type Description
Intersects bool
Point System.Vector2

Public Methods

Method Description
IntersectionResult ( bool intersects = false, System.Vector2 point = newVector2() ) : System

Initializes a new instance of the IntersectionResult struct. Constructor for Intersection Result

Method Details

IntersectionResult() public method

Initializes a new instance of the IntersectionResult struct. Constructor for Intersection Result
public IntersectionResult ( bool intersects = false, System.Vector2 point = newVector2() ) : System
intersects bool /// Intersection of input ///
point System.Vector2 /// Intersection Point ///
return System

Property Details

Intersects public_oe property

Returns if both of the points intersect.
public bool Intersects
return bool

Point public_oe property

Intersection point
public Vector2,System Point
return System.Vector2