跳到主要内容

ISweepModel 接口

interface ISweepModel extends IModelBaseInfo 

扫掠模型

继承: IModelBaseInfo

属性

angle

angle?: number;

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

path

path: IImportPath;

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

类型: IImportPath

profile

profile: IImportPath;

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

类型: IImportPath

profileId

profileId: string;

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

texture

texture?: {
id: string;
angle?: number;
};