Bitbybit Docs
    Preparing search index...

    Class RayPointDto (Inputs.Vector)

    A start point, a direction and a distance for vector.onRay, which finds the point that far along the direction.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalpoint: Point3
      • Optionaldistance: number
      • Optionalvector: number[]

      Returns RayPointDto

    Properties

    point: Point3

    Where the ray starts.

    undefined
    
    distance: number

    How far to travel from point, in multiples of the direction vector's length; a negative distance goes backwards.

    1
    

    -Infinity

    Infinity

    1

    vector: number[]

    The direction to travel in, used as given; a unit vector makes distance a length in model units.

    undefined