跳到主要内容

ISweepModel interface

扫掠模型

Signature:

interface ISweepModel extends IModelBaseInfo 

Links: interface ISweepModel extends IModelBaseInfo

Extends: IModelBaseInfo

Properties

Property

Modifiers

Type

Description

angle?

number

(Optional) 轮廓旋转角度,以弧度表示,默认 0

path

IImportPath

放样的路径,长度为 2 的倍数,每 2 个数代表一个点

profile

IImportPath

直接定义扫掠的截面,定义和 extrusion 的 profile 相同。暂未支持,当前只能使用 profileId

profileId

string

引用 ID,指向后台线条库中的某个轮廓

texture?

{ id: string; angle?: number; }

(Optional)