Vertex Viewer SDK
    Preparing search index...

    Function create

    • Creates a new ray with the given values, or using default values if none are provided. The direction defaults to {x: 0, y: 0, z: -1} if undefined.

      Parameters

      • value: Partial<Ray.Ray> = {}

        The values of the ray.

      Returns Ray.Ray

      A new ray.