Beispiel #1
0
 public override void SetupDx(Microsoft.DirectX.Direct3D.Light light)
 {
     light.DiffuseColor = ColorValue.FromColor(clr);
     light.Direction    = direction;
     light.Type         = LightType.Directional;
     light.Enabled      = true;
     //light.Update();
 }
Beispiel #2
0
 public abstract void SetupDx(Microsoft.DirectX.Direct3D.Light light);