[This is preliminary documentation and is subject to change.]

Set the Light data on an object

Namespace:  OpenMetaverse
Assembly:  OpenMetaverse (in OpenMetaverse.dll) Version: 1.0.0.20057

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SetLight(
	Simulator simulator,
	uint localID,
	Primitive..::.LightData light
)
Public Sub SetLight ( _
	simulator As Simulator, _
	localID As UInteger, _
	light As Primitive..::.LightData _
)
public:
void SetLight(
	Simulator^ simulator, 
	unsigned int localID, 
	Primitive..::.LightData^ light
)

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
light
Primitive..::.LightData
A object containing the data to set

See Also