Interface IRaycastResult<T>

interface IRaycastResult<T> {
    object: T;
    worldNormal: Vector3;
    worldPosition: Vector3;
}

Type Parameters

  • T

Properties

object: T

The model Object hit

worldNormal: Vector3

The surface normal at the hit point

worldPosition: Vector3

The 3D world position of the hit point