LUADOC - Farming Simulator 17

Printable Version

setShaderParameter

Description
Set shader parameter
Definition
setShaderParameter(integer shapeId, string parameterName, float x, float y, float z, float w, boolean shared)
Arguments
integershapeIdshape id
stringparameterNamethe name of the parameter
floatxx value
floatyy value
floatzz value
floatww value
booleansharedif true, the value is applied to all shapes with the same material