BEPUphysics.BroadPhaseEntries.Terrain.RayCast C# (CSharp) Method

RayCast() public method

Tests a ray against the entry.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, RayHit &rayHit ) : bool
ray BEPUutilities.Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
rayHit BEPUutilities.RayHit Hit location of the ray on the entry, if any.
return bool
        public override bool RayCast(Ray ray, float maximumLength, out RayHit rayHit)
        {
            return Shape.RayCast(ref ray, maximumLength, ref worldTransform, out rayHit);
        }