Depiction Engine For Unity 2023.0 (Alpha)
|
Representation of a plane in 3D space. More...
Public Member Functions | |
PlaneDouble (Vector3Double inNormal, Vector3Double inPoint) | |
bool | Raycast (RayDouble ray, out double enter) |
Intersects a ray with the plane. | |
Representation of a plane in 3D space.
bool DepictionEngine.PlaneDouble.Raycast | ( | RayDouble | ray, |
out double | enter | ||
) |
Intersects a ray with the plane.
This function sets enter to the distance along the ray, where it intersects the plane. If the ray is parallel to the plane, function returns false and sets enter to zero. If the ray is pointing in the opposite direction than the plane, function returns false and sets enter to the distance along the ray (negative value).
ray | |
enter |