GetStrength
Gets the strength at the passed in position.
阅读时间1 分钟最后更新于 1 个月前
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