MatrixScale

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(scaledMatrix:array) MatrixScale matrix:array scalar:float 
(scaledMatrix:array) MatScale matrix:array scalar:float

Returns a matrix scaled by a number, that is, with every element multiplied by that number.


Notes

  • Although the OBSE doc says the sintax is as above, this function was implemented in v20 with the arguments switched. Until the implementation is fixed, place the scalar arument first and the matrix second.