Black Ops III

setshaderconstant

Set the value of a previously-mapped shader constant

Example:

ent setshaderconstant( 0, "shaderColor" , 0, 0, 0, 0)

Parameters

ParameterSummary
*localClientNumLocal client for which to set the shader constant
*indexAn 0-based index that refers to a previously-mapped shader constant(see MapShaderConstant)
*xA float value, x component of the shader constant
*yA float value, y component of the shader constant
*zA float value, z component of the shader constant
*wA float value, w component of the shader constant

* = mandatory