raycastHit
Read only. The raycast result for the current mouse position. This is valid when hitValidTerrain is true.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
RaycastHit raycastHit { get; }
Remarks
Additional Resources: IOnPaint.hitValidTerrain and RaycastHit.