Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetMaterialFloat
Syntax
C++
int GetMaterialFloat(IFunctionHandler * pH, int slot, int nSubMtlId, const char * sParamName);
Parameters 
Description 
int nSubMtlId 
Specify sub-material by Id 
const char * sParamName 
Name of the material parameter. 
nSlot 
On which slot to change material. 

Material parameter value. 

 

Syntax: Entity.GetMaterialFloat( nSlotId, nSubMtlId, sParamName ) 

Change material parameter.

Copyright (c) 2012. All rights reserved.