SetObjectShaderConstantArrayByName
Description
This command is deprecated, it is an exact copy of SetObjectShaderConstantArrayVec4ByName.
Definition
SetObjectShaderConstantArrayByName( objID, szName, arrayIndex, value1, value2, value3, value4 )
void agk::SetObjectShaderConstantArrayByName( uint32_t objID, const char *szName, uint32_t arrayIndex, float value1, float value2, float value3, float value4 )
Parameters
- objID - The ID of the object to modify.
- szName - The name of the constant to change, as defined in the shader source file.
- arrayIndex - The index of the element within the array to modify.
- value1 - The X or R component of the new value
- value2 - The Y or G component of the new value
- value3 - The Z or B component of the new value
- value4 - The W or A component of the new value