Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StarDto

Index

Constructors

constructor

  • new StarDto(outerRadius?: number, innerRadius?: number, numRays?: number, center?: Point3, direction?: Vector3, offsetOuterEdges?: number, half?: boolean): StarDto
  • Parameters

    • Optional outerRadius: number
    • Optional innerRadius: number
    • Optional numRays: number
    • Optional center: Point3
    • Optional direction: Vector3
    • Optional offsetOuterEdges: number
    • Optional half: boolean

    Returns StarDto

Properties

center

center: Point3

Center of the circle

default

[0,0,0]

direction

direction: Vector3

Direction

default

[0, 1, 0]

half

half: boolean

Construct half of the star

default

false

innerRadius

innerRadius: number

Angle of the rays

default

1

minimum

0

maximum

Infinity

step

0.1

numRays

numRays: number

Direction of the vector

default

7

minimum

3

maximum

Infinity

step

1

Optional offsetOuterEdges

offsetOuterEdges: number

Offsets outer edge cornerners along the direction vector

default

0

minimum

-Infinity

maximum

Infinity

step

0.1

outerRadius

outerRadius: number

Angle of the rays

default

2

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc