Skip to content

Interface: ODLineMaterialPropertyOptions

Table of contents

Properties

Properties

color

color: Color

颜色

Memberof

ODLineMaterialPropertyOptions

Defined in

src/materials/ODLineMaterialProperty.ts:29


totalFrame

Optional totalFrame: number

总的帧数,表示整个 OD 线循环一次需要消耗的帧数,该参数 越大 OD 线持续时间越长,可以简单按照 60Fps/s 帧数与时间进行换算.

Memberof

ODLineMaterialPropertyOptions

Defined in

src/materials/ODLineMaterialProperty.ts:36


alphaStep

Optional alphaStep: number

透明度间隔步长

Memberof

ODLineMaterialPropertyOptions

Defined in

src/materials/ODLineMaterialProperty.ts:43


lengthRatio

Optional lengthRatio: number

动态效果线长度与自身长度的比率,取值范围 [0.0, 1.0].

Memberof

ODLineMaterialPropertyOptions

Defined in

src/materials/ODLineMaterialProperty.ts:50