Bitbybit Docs
    Preparing search index...

    Class FrustumDto (Inputs.Mesh)

    The size and the number of sides of the cone or cylinder mesh.frustum makes.

    Index

    Constructors

    • Parameters

      • Optionalcenter: Bit.Inputs.Base.Point3
      • Optionaldirection: Vector3
      • OptionalbottomRadius: number
      • OptionaltopRadius: number
      • Optionalheight: number
      • Optionalsides: number

      Returns FrustumDto

    Properties

    The center of the bottom.

    [0, 0, 0]
    
    direction?: Vector3

    The direction the shape rises in from center; its length does not matter.

    [0, 1, 0]
    
    bottomRadius?: number

    The radius at the bottom, in model units; 0 makes a point.

    1
    

    0

    Infinity

    0.1

    topRadius?: number

    The radius at the top, in model units; 0 makes a point, the bottom radius a cylinder.

    0.5
    

    0

    Infinity

    0.1

    height?: number

    How tall the shape is, in model units.

    2
    

    0

    true

    Infinity

    0.1

    sides?: number

    How many flat sides go around the shape, at least 3.

    24
    

    3

    Infinity

    1