API

Function GetHotSpotToRef

  • Compute a world space hotspot position TmpVectors.Vector3[0..4] are modified by this function. Do not use them as result output.

    Parameters

    • mesh: AbstractMesh

      mesh used to get hotspot from

    • hotSpotQuery: HotSpotQuery

      point indices and barycentric

    • resPosition: Vector3

      output world position

    • OptionalresNormal: Vector3

      optional output world normal

    Returns boolean

    false if it was not possible to compute the hotspot position