Esempio n. 1
0
        public object Clone()
        {
            LightWrapper light = new LightWrapper();

            light.CastHighlights = this.CastHighlights;
            light.DirectionX     = this.DirectionX;
            light.DirectionY     = this.DirectionY;
            light.DirectionZ     = this.DirectionZ;
            light.Enabled        = this.Enabled;
            light.LightColor     = this.LightColor;

            return(light);
        }
Esempio n. 2
0
		public object Clone()
		{
			LightWrapper light = new LightWrapper();
			light.CastHighlights = this.CastHighlights;
			light.DirectionX = this.DirectionX;
			light.DirectionY = this.DirectionY;
			light.DirectionZ = this.DirectionZ;
			light.Enabled = this.Enabled;
			light.LightColor = this.LightColor;

			return light;
		}