Click or drag to resize
Ab4d.SharpEngine logo

MathUtilsIsOnlyTranslateAndScaleMatrix 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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public static bool IsOnlyTranslateAndScaleMatrix(
	 in Matrix4x4 matrix
)

Parameters

matrix  Matrix4x4
Matrix4x4

Return Value

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