Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


mulScale(float3x3, float3)

Matrix columns multiplied by scale components m.c0.x " s.x | m.c1.x " s.y | m.c2.x " s.z m.c0.y " s.x | m.c1.y " s.y | m.c2.y " s.z m.c0.z " s.x | m.c1.z " s.y | m.c2.z * s.z
Read time 1 minuteLast updated 10 days ago

Definition

public static float3x3 mulScale(float3x3 m, float3 s)

Parameters

Matrix to scale.

Scaling coefficients for each column.

Returns

Type

Description

float3x3The scaled matrix.