Click or drag to resize
Ab4d.SharpEngine logo

MathUtilsIsOnlyScaleMatrix Method

Returns true when the specified matrix defines only translation and scale (no rotation, no skewing). This is the case when all elements except M11, M22, M33, M41, M42 and M43 are 0.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public static bool IsOnlyScaleMatrix(
	 in Matrix4x4 matrix
)

Parameters

matrix  Matrix4x4
Matrix4x4

Return Value

Boolean
true when the specified matrix defines only translation and scale
See Also