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

    Class DrawPointsDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

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

      Returns DrawPointsDto<T>

    Properties

    points: Point3[]

    Point

    undefined
    
    opacity: number

    Value between 0 and 1

    1
    

    0

    1

    0.1

    size: number

    Size of the points

    0.1
    

    0

    Infinity

    0.1

    colours: string | string[]

    Hex colour string or collection of strings

    #444444
    
    updatable: boolean

    Indicates wether the position of this point will change in time

    false
    
    pointsMesh?: T

    Points mesh variable in case it already exists and needs updating

    undefined