Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::GetMaterialFloat Method
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.

!

Entity.GetMaterialFloat( nSlotId, nSubMtlId, sParamName )

! Change material parameter.!  

!  

!  

!  

 

Copyright (c) 2012. All rights reserved.