GroundLineFlowMaterial

GroundLineFlowMaterial

贴地线线 流动效果 材质

Constructor

new GroundLineFlowMaterial(optionsopt)

创建一个贴地线材质

Parameters:
Name Type Attributes Default Description
options Object <optional>
{}

带有以下属性的对象:

Properties
Name Type Attributes Default Description
color Color <optional>

颜色

url String <optional>

图片URL 必须是png

repeat Object <optional>
{x:10,y:1}

X/Y方向上的重复次数

axisY Boolean <optional>
false

是否使用Y方向纹理坐标

speed Number <optional>
1

速度建议1-10

Classes

GroundLineFlowMaterial