Return to the tutorials
Return to the scripting
HDR Shop Scripting - Matrixes, Vectors, and Colors
As Javascript does not have build in matrix, vector, color types, HDRShop has some custom macros for quickly generating these types and passing them to functions.
rotateX: x
rotateY: y
rotateZ: z
matrix:[1, 0, 0, 0, 1, 0, 0, 0, 1]
Return to the scripting
Return to the tutorials