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

    Class BabylonRay

    Index

    Constructors

    • Parameters

      • context: Context

      Returns Bit.BabylonRay

    create

    • Creates a picking ray of the current mouse position in the active camera

      Returns Ray

      Ray

      create picking ray

    • Create a ray that start at origin, has direction vector and optionally length

      Parameters

      Returns Ray

      ray

      create custom ray

    • Create a ray from one point to another

      Parameters

      • inputs: FromToDto

        origin, direction and length

      Returns Ray

      ray

      create ray from to

    get