Skip to content

Math.Scaling

Name - Description Default Type
<input> Takes a float3 vector (a vector with 3 float elements) that represents the scaling factors in x, y, and z directions. The first element in the vector being x, the second y and the third z. Float3
<output> Outputs a 4x4 scaling matrix (a sequence of four float4 vectors). [Float4](4)

This shard creates a 4x4 scaling matrix (a sequence of four float4 vectors) from a float3 vector input that represents the scaling factors in x, y, and z directions. A float4 vector is a vector with 4 float elements while a float3 vector is a vector with 3 float elements.