operator %
Returns the result of a componentwise modulus operation on two uint3 vectors.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
operator %(uint3, uint3)
Returns the result of a componentwise modulus operation on two uint3 vectors.
public static uint3 operator %(uint3 lhs, uint3 rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint3 | uint3 result of the componentwise modulus. |
operator %(uint3, uint)
Returns the result of a componentwise modulus operation on a uint3 vector and a uint value.
public static uint3 operator %(uint3 lhs, uint rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint3 | uint3 result of the componentwise modulus. |
operator %(uint, uint3)
Returns the result of a componentwise modulus operation on a uint value and a uint3 vector.
public static uint3 operator %(uint lhs, uint3 rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint3 | uint3 result of the componentwise modulus. |