Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • DrawPointsDto

Index

Constructors

constructor

  • new DrawPointsDto<T>(points?: Point3[], opacity?: number, size?: number, colours?: string | string[], updatable?: boolean, pointsMesh?: T): DrawPointsDto<T>
  • Provide options without default values

    Type parameters

    • T

    Parameters

    • Optional points: Point3[]
    • Optional opacity: number
    • Optional size: number
    • Optional colours: string | string[]
    • Optional updatable: boolean
    • Optional pointsMesh: T

    Returns DrawPointsDto<T>

Properties

colours

colours: string | string[]

Hex colour string or collection of strings

default

#444444

opacity

opacity: number

Value between 0 and 1

default

1

minimum

0

maximum

1

step

0.1

points

points: Point3[]

Point

default

undefined

Optional pointsMesh

pointsMesh: T

Points mesh variable in case it already exists and needs updating

default

undefined

size

size: number

Size of the points

default

0.1

minimum

0

maximum

Infinity

step

0.1

updatable

updatable: boolean

Indicates wether the position of this point will change in time

default

false

Generated using TypeDoc