Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

Matrix2D.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

Parameters

Parameter Description
lhs The left hand side matrix of the operation
rhs The right hand side matrix of the operation

Returns

Matrix2D The multiplied matrix

Description

Multiplies two matrices.


public static Vector2 operator *(Unity.VectorGraphics.Matrix2D lhs, Vector2 vector);

Parameters

Parameter Description
lhs The left hand side matrix of the operation
vector The vector the matrix will be multiplied with

Returns

Vector2 The transformed vector

Description

Transforms a Vector2 by a matrix.