Documentation
›
API Reference
›
Object
›
Asset
›
Shader
SetMat3
Lua
C++
This function sets a Mat3 uniform.
Syntax
bool
SetMat3
(string name, Mat3 m)
Parameters
name:
the name of the shader uniform.
m:
a Mat3 value.
Returns
Returns true if the uniform exists and is of the correct type, otherwise false is returned.