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

    Class ChristmasTreeSolidDto

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalheight: number
      • OptionalinnerDist: number
      • OptionalouterDist: number
      • OptionalnrSkirts: number
      • OptionaltrunkHeight: number
      • OptionaltrunkWidth: number
      • Optionalhalf: boolean
      • Optionalrotation: number
      • Optionalorigin: Point3
      • Optionaldirection: Vector3
      • OptionalextrusionLengthFront: number
      • OptionalextrusionLengthBack: number

      Returns ChristmasTreeSolidDto

    Properties

    height: number

    Height of the tree

    6
    

    0

    Infinity

    0.1

    innerDist: number

    Inner distance of the branches on the bottom of the tree

    1.5
    

    0

    Infinity

    0.1

    outerDist: number

    Outer distance of the branches on the bottom of the tree

    3
    

    0

    Infinity

    0.1

    nrSkirts: number

    Number of skirts on the tree (triangle like shapes)

    5
    

    1

    Infinity

    1

    trunkHeight: number

    Trunk height

    1
    

    0

    Infinity

    0.1

    trunkWidth: number

    Trunk width only applies if trunk height is more than 0

    1
    

    0

    Infinity

    0.1

    half: boolean

    Indicates wether only a half of the tree should be created

    false
    
    rotation: number

    Rotation of the tree

    0
    

    0

    Infinity

    15

    origin: Point3

    Origin of the tree

    [0, 0, 0]
    
    direction: Vector3

    Direction of the tree

    [0, 1, 0]
    
    extrusionLengthFront: number

    Extrusion length in the forward direction

    1
    

    0

    Infinity

    0.1

    extrusionLengthBack: number

    Extrusion length in the backward direction

    0
    

    0

    Infinity

    0.1