API

Interface NavcatRaycastResult

Surface raycast snapshot; fraction is 1 and normal is zero on a miss.

interface NavcatRaycastResult {
    fraction: number;
    hit: boolean;
    nodeRefs: number[];
    normal: Vec3;
    position: Vec3;
}
Index
fraction: number
hit: boolean
nodeRefs: number[]
normal: Vec3
position: Vec3