bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class BabylonPick

    Index

    Constructors

    get from pick info

    • Get the distance to the object if picking result exists

      Parameters

      Returns number

      Distance

      pick distance

    • Get the picked mesh

      Parameters

      Returns AbstractMesh

      Picked mesh

      picked mesh

    • Get the picked point

      Parameters

      Returns Point3

      Picked point

      picked point

    • Check if pick ray hit something in the scene or not

      Parameters

      Returns boolean

      Indication of a hit

      hit

    • Gets the unique submesh id if it was picked

      Parameters

      Returns number

      Submesh id

      sub mesh id

    • Gets the unique submesh face id if it was picked

      Parameters

      Returns number

      Submesh face id

      sub mesh face id

    • Gets the the barycentric U coordinate that is used when calculating the texture coordinates of the collision

      Parameters

      Returns number

      U coordinate

      picked bu

    • Gets the the barycentric V coordinate that is used when calculating the texture coordinates of the collision

      Parameters

      Returns number

      V coordinate

      picked bv

    • Get the picked sprite

      Parameters

      Returns Sprite

      Picked sprite

      picked sprite

    pick

    • Get a hit result of picking with ray

      Parameters

      Returns PickingInfo

      Picking info

      pick with custom ray

    • Pick with picking ray of the current mouse position in the active camera

      Returns PickingInfo

      Picking info

      pick with picking ray