Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ChristmasTreeDto

Index

Constructors

constructor

  • new ChristmasTreeDto(height?: number, innerDist?: number, outerDist?: number, nrSkirts?: number, trunkHeight?: number, trunkWidth?: number, half?: boolean, rotation?: number, origin?: Point3, direction?: Vector3): ChristmasTreeDto
  • Parameters

    • Optional height: number
    • Optional innerDist: number
    • Optional outerDist: number
    • Optional nrSkirts: number
    • Optional trunkHeight: number
    • Optional trunkWidth: number
    • Optional half: boolean
    • Optional rotation: number
    • Optional origin: Point3
    • Optional direction: Vector3

    Returns ChristmasTreeDto

Properties

direction

direction: Vector3

Direction of the tree

default

[0, 1, 0]

half

half: boolean

Indicates wether only a half of the tree should be created

default

false

height

height: number

Height of the tree

default

6

minimum

0

maximum

Infinity

step

0.1

innerDist

innerDist: number

Inner distance of the branches on the bottom of the tree

default

1.5

minimum

0

maximum

Infinity

step

0.1

nrSkirts

nrSkirts: number

Number of skirts on the tree (triangle like shapes)

default

5

minimum

1

maximum

Infinity

step

1

origin

origin: Point3

Origin of the tree

default

[0, 0, 0]

outerDist

outerDist: number

Outer distance of the branches on the bottom of the tree

default

3

minimum

0

maximum

Infinity

step

0.1

rotation

rotation: number

Rotation of the tree

default

0

minimum

0

maximum

Infinity

step

15

trunkHeight

trunkHeight: number

Trunk height

default

1

minimum

0

maximum

Infinity

step

0.1

trunkWidth

trunkWidth: number

Trunk width only applies if trunk height is more than 0

default

1

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc