GetStrength
Gets the strength at the passed in position.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
GetStrength(int, int)
Gets the strength at the passed in position.
public float GetStrength(int ix, int iy)
Parameters
Returns
Type | Description |
|---|---|
| float | Returns the strength at the passed in position. |
GetStrength(Vector2Int)
Gets the strength at the passed in position.
public float GetStrength(Vector2Int position)
Parameters
The position of the brush offset.
Returns
Type | Description |
|---|---|
| float | Returns the strength at the passed in position. |
Remarks
Note: This method is an overloaded method using a instead of two separate ints for position.
Vector2Int