excavateat - eisclimber/ExPresS-XR GitHub Wiki

ExcavationArea.ExcavateAt(Vector2,Color,float)

Method in ExcavationArea

Summary

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)

Parameters

Name Description
UnityEngine.Vector2 pos Texture position (normalized) to draw at.
UnityEngine.Color color Color to draw with.
float brushSize Size of the brush.
⚠️ **GitHub.com Fallback** ⚠️