public RayCast ( BEPUutilities.Ray ray, float maximumLength, bool>.Func |
||
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 | Hit location of the ray on the entry, if any. | |
return | 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;
}
StaticGroup::RayCast ( BEPUutilities.Ray ray, float maximumLength, |