deserializeMatrix44

Parses a parameter string to a Matrix44 type.

Signatures

  •   deserializeMatrix44( str )

Example

 const matrix = deserializeMatrix44( configurator.getParamValue('main:modelMatrix') );
 

Parameters

str

String that must contain the string representation of a paramate matrix. That means, it should start with an initial substring '<[', followed by four comma separated substrings of a form <[number,number,number,number]>, followed by a subsequent substring ']>'.

Return value

A data type Matrix44 containing the value content of str or 'undefined' if the parsing was not successful.