对区域染色

染色
服务端
Both Mobile and PC

区域染色

声明

func DyeAtArea(normal Vector3, position Vector3, range float, color int, fixedRange float, randomRatio float, randomDecay float, out var count int)
go

参数

输入

名称 类型 描述
法向 Vector3 设置物件法线
位置 Vector3 设置染色点
范围 Float 设置染色范围
叠加色 Int 颜色
固定区域 Float 固定染色区域
随机系数 Float 随机系数
随机衰减系数 Float 随机衰减系数

输出

名称 类型 描述
数量 Int 染色数量