public RayCast ( Ray &ray, float maximumLength, AffineTransform &transform, RayHit &hit ) : bool | ||
ray | Ray | Ray to test against the shape. |
maximumLength | float | Maximum length of the ray in units of the ray direction's length. |
transform | AffineTransform | Transform to apply to the terrain shape during the test. |
hit | RayHit | Hit data of the ray cast, if any. |
리턴 | bool |
public bool RayCast(ref Ray ray, float maximumLength, ref AffineTransform transform, out RayHit hit)
{
return RayCast(ref ray, maximumLength, ref transform, TriangleSidedness.Counterclockwise, out hit);
}
///<summary>
TerrainShape::RayCast ( Ray &ray, float maximumLength, AffineTransform &transform, TriangleSidedness sidedness, RayHit &hit ) : bool |