Bitbybit Docs
    Bereite Suchindex vor...

    Klasse DrawPointsDto<T> (Inputs.Point)

    A list of points and how to draw them: their size, colors and opacity, and whether the drawn mesh will be updated later.

    Typenparameter

    • T
    Index

    Konstruktoren

    • Provide options without default values

      Typenparameter

      • T

      Parameter

      • Optionalpoints: Point3[]
      • Optionalopacity: number
      • Optionalsize: number
      • Optionalcolours: string | string[]
      • Optionalupdatable: boolean
      • OptionalpointsMesh: T

      Rückgabewert DrawPointsDto<T>

    Eigenschaften

    points: Point3[]

    The points to draw, each [x, y, z].

    undefined
    
    opacity: number

    How opaque the points are, from 0 (invisible) to 1 (solid).

    1
    

    0

    1

    0.1

    size: number

    Size of each drawn point, in model units.

    0.1
    

    0

    Infinity

    0.1

    colours: string | string[]

    One hex color string for all points, or one string per point.

    #444444
    
    updatable: boolean

    When true, the drawn mesh is built so the positions can be changed later without redrawing.

    false
    
    pointsMesh?: T

    A mesh drawn earlier for these points; when given it is updated in place instead of a new one being made.

    undefined
    

    true