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

double2.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 double2 operator %(double2 lhs, double2 rhs);

Parameters

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

Returns

double2 double2 result of the componentwise modulus.

Description

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


public static double2 operator %(double2 lhs, double rhs);

Parameters

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

Returns

double2 double2 result of the componentwise modulus.

Description

Returns the result of a componentwise modulus operation on a double2 vector and a double value.


public static double2 operator %(double lhs, double2 rhs);

Parameters

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

Returns

double2 double2 result of the componentwise modulus.

Description

Returns the result of a componentwise modulus operation on a double value and a double2 vector.