Interface RaycastHit<TBody>

system.raycast(from, to) result

interface RaycastHit<TBody> {
    body: TBody;
    point: Vector;
}

Type Parameters

  • TBody

Properties

Properties

body: TBody
point: Vector