/// <summary> /// Builds a hemispheric light buffer /// </summary> /// <param name="light">Light</param> /// <returns>Returns the new buffer</returns> public static BufferLightHemispheric Build(SceneLightHemispheric light) { if (light != null) { return(new BufferLightHemispheric(light)); } return(Default); }
/// <summary> /// Constructor /// </summary> /// <param name="light">Light</param> public BufferLightHemispheric(SceneLightHemispheric light) { this.AmbientDown = light.AmbientDown; this.AmbientUp = light.AmbientUp; }