BEPUphysics.BroadPhaseEntries.Terrain.RayCast C# (CSharp) Méthode

RayCast() public méthode

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.
Résultat bool
        public override bool RayCast(Ray ray, float maximumLength, out RayHit rayHit)
        {
            return Shape.RayCast(ref ray, maximumLength, ref worldTransform, out rayHit);
        }