CameraCustomParameter()

Syntax

CameraCustomParameter(#Camera, ParameterIndex, Value1, Value2, Value3, Value4)
Description
Sets a custom parameter value to the camera shader script (either GLSL or HLSL).

Parameters

#Camera The camera to use.
ParameterIndex The parameter index in the shader script.
Value1 The first parameter value.
Value2 The second parameter value (if the parameter only accept one value, this value will be ignored).
Value3 The third parameter value (if the parameter only accept two values, this value will be ignored).
Value4 The fourth parameter value (if the parameter only accept three values, this value will be ignored).

Return value

None.

Supported OS

All

<- CameraBackColor() - Camera Index - CameraDirection() ->