Parameters |
Description |
int nSubMtlId |
Specify sub-material by Id |
const char * sParamName |
Name of the material parameter. |
float fValue |
New material parameter value. |
nSlot |
On which slot to change material. |
Syntax: Entity.SetMaterialFloat( nSlotId, nSubMtlId, sParamName, fValue )
Change material parameter.
Copyright (c) 2012. All rights reserved.
|