Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AddLighting( string sName, float fX, float fY, float fZ, float fIntensity, Color LightColor )
- {
- mILPanel.Scene.Camera.Add(
- new ILPointLight( sName )
- {
- Position = new Vector3( fX, fY, fZ ),
- Color = LightColor,
- Intensity = fIntensity,
- }
- );
- /* Code needed to update graphics, however Reset() doesn't do this. */
- mILPanel.Scene.First<ILPlotCube>().Reset();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement