Table of Contents

Method OnHit

Namespace
Box3D
Assembly
Box3D.NET.dll

OnHit(in RaycastHit)

Called once for each shape the ray reaches.

RaycastAction OnHit(in RaycastHit hit)

Parameters

hit RaycastHit

Where the ray met the shape.

Returns

RaycastAction

What the cast should do next.