excavateat - eisclimber/ExPresS-XR GitHub Wiki
Method in ExcavationArea
Excavates at a position by adjusting the parameters of the draw shader and drawing it to the texture that is used as depth map of the areas material.
public void ExcavateAt(Vector2 pos, Color color, float brushSize)| Name | Description |
|---|---|
UnityEngine.Vector2 pos |
Texture position (normalized) to draw at. |
UnityEngine.Color color |
Color to draw with. |
float brushSize |
Size of the brush. |