Bitbybit Docs
    Preparing search index...

    Class CubeDto (Inputs.Manifold)

    用于 manifold.shapes.cube 的尺寸和放置位置。

    Index

    Constructors

    Properties

    Constructors

    Properties

    center: boolean

    为 true 时,长方体以原点为中心;为 false 时其角位于原点并沿正轴延伸。

    true
    
    size: number

    立方体的边长,以模型单位表示。

    1
    

    0

    Infinity

    0.1