|
ExtensionsGetFormattedMatrixText Method |
Returns string from a Matrix4x4 in 4 column and 4 rows. It is possible to specify the indent text (the text that is displayed in the beginning of each line to text) and new line text (text that is used for new line).
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static string GetFormattedMatrixText(
this Matrix4x4 matrix,
string indentText = "",
string newlineText = "",
int numberOfDecimals = 2
)
Parameters
- matrix Matrix4x4
- Matrix4x4
- indentText String (Optional)
- indent text (the text that is displayed in the beginning of each line to text)
- newlineText String (Optional)
- new line text (text that is used for new line)
- numberOfDecimals Int32 (Optional)
- number of decimals (by default 2)
Return Value
Stringstring from a Matrix4x4
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Matrix4x4. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also