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

math.scaleMul

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

Declaration

public static float3x3 scaleMul(float3 s, float3x3 m);

Parameters

Parameter Description
s Scaling coefficients for each row.
m Matrix to scale.

Returns

float3x3 The scaled matrix.

Description

Matrix rows multiplied by scale components m.c0.x " s.x | m.c1.x " s.x | m.c2.x " s.x m.c0.y " s.y | m.c1.y " s.y | m.c2.y " s.y m.c0.z " s.z | m.c1.z " s.z | m.c2.z * s.z