Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

uint3.operator %

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static uint3 operator %(uint3 lhs, uint3 rhs);

Parameters

Parameter Description
lhs Left hand side uint3 to use to compute componentwise modulus.
rhs Right hand side uint3 to use to compute componentwise modulus.

Returns

uint3 uint3 result of the componentwise modulus.

Description

Returns the result of a componentwise modulus operation on two uint3 vectors.


public static uint3 operator %(uint3 lhs, uint rhs);

Parameters

Parameter Description
lhs Left hand side uint3 to use to compute componentwise modulus.
rhs Right hand side uint to use to compute componentwise modulus.

Returns

uint3 uint3 result of the componentwise modulus.

Description

Returns the result of a componentwise modulus operation on a uint3 vector and a uint value.


public static uint3 operator %(uint lhs, uint3 rhs);

Parameters

Parameter Description
lhs Left hand side uint to use to compute componentwise modulus.
rhs Right hand side uint3 to use to compute componentwise modulus.

Returns

uint3 uint3 result of the componentwise modulus.

Description

Returns the result of a componentwise modulus operation on a uint value and a uint3 vector.