BEPUphysics.BroadPhaseEntries.StaticGroup.RayCast C# (CSharp) Метод

RayCast() публичный Метод

Tests a ray against the entry.
public RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func filter, RayHit &rayHit ) : bool
ray BEPUutilities.Ray Ray to test.
maximumLength float Maximum length, in units of the ray's direction's length, to test.
filter bool>.Func Test to apply to the entry. If it returns true, the entry is processed, otherwise the entry is ignored. If a collidable hierarchy is present /// in the entry, this filter will be passed into inner ray casts.
rayHit BEPUutilities.RayHit Hit location of the ray on the entry, if any.
Результат bool
        public override bool RayCast(Ray ray, float maximumLength, Func<BroadPhaseEntry, bool> filter, out RayHit rayHit)
        {
            RayCastResult result;
            bool toReturn = Shape.RayCast(ray, maximumLength, filter, out result);
            rayHit = result.HitData;
            return toReturn;
        }

Same methods

StaticGroup::RayCast ( BEPUutilities.Ray ray, float maximumLength, RayHit &rayHit ) : bool