Struct b3CastOutput
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Low-level ray cast or shape cast output. Mirror of b3CastOutput.
public struct b3CastOutputInherited Members
Remarks
In the single-precision build this is also b3WorldCastOutput.
Fields
- childIndex
-
The index of the compound child hit.
- fraction
-
The fraction of the input translation at which contact occurred.
- hit
-
Whether the cast hit anything.
- iterations
-
The number of iterations used. Diagnostic.
- materialIndex
-
The material index, or minus one for none.
- normal
-
The surface normal at the hit point.
- point
-
The hit point.
- triangleIndex
-
The index of the mesh or height field triangle hit.