OpenMetaverse Protocol Library Developers API Documentation
SetMaterial Method (simulator, localID, material)
NamespacesOpenMetaverseObjectManagerSetMaterial(Simulator, UInt32, Material)
Set the Material data of an object
Declaration Syntax
C#
public 
void 
SetMaterial(
        
Simulator 
simulator,
        
uint 
localID,
        
Material 
material
)
Parameters
simulator ( Simulator)
A reference to the object where the object resides
localID ( UInt32)
The objects ID which is local to the simulator the object is in
material ( Material)
The new material of the object
See Also

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)