Skip to main content

Interface: BoxOptions

Table of contents

Properties

Properties

width

width: number

几何体沿着X轴的宽度,默认值是1

Defined in

src/geometries/Box.ts:10


height

height: number

几何体沿着Y轴的宽度,默认值是1

Defined in

src/geometries/Box.ts:15


depth

depth: number

几何体沿着Z轴的深度,默认值是1

Defined in

src/geometries/Box.ts:20


widthSegments

widthSegments: number

宽度分段数,默认值是1

Defined in

src/geometries/Box.ts:25


heightSegments

heightSegments: number

高度分段数,默认值是1

Defined in

src/geometries/Box.ts:30


depthSegments

depthSegments: number

深度分段数,默认值是1

Defined in

src/geometries/Box.ts:35


attributes

attributes: Attributes

顶点数据

Defined in

src/geometries/Box.ts:40