Declaration
func DyeAtArea(normal Vector3, position Vector3, range float, color int, fixedRange float, randomRatio float, randomDecay float, out var count int)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Normal | Vector3 | Setting object normal vector |
| Position | Vector3 | Set the dyeing point |
| Range | Float | Set the dyeing range |
| Color | Int | Color |
| Fixed Range | Float | Fix dyeing area |
| Random Ratio | Float | Random coefficient |
| Random Decay | Float | Random decay coefficient |
Out
| Name | Type | Description |
|---|---|---|
| Count | Int | Number of dyeings |