Interface RaycastResultEx2

Extended raycast result that includes the intersection position and the selected mesh component.

interface RaycastResultEx2 {
    data?: {
        position: IVector3;
        selectedMeshComponent: MeshComponent;
        t: number;
        u: number;
        v: number;
    };
    result: boolean;
}

Properties

Properties

data?: {
    position: IVector3;
    selectedMeshComponent: MeshComponent;
    t: number;
    u: number;
    v: number;
}
result: boolean