protected override void UpdateRenderData(float deltaTime)
        {
            CSpotLight spotLight = (CSpotLight)m_renderLight;

            spotLight.LinearAttenuation    = LinearAttenuation;
            spotLight.ConstantAttenuation  = ConstantAttenuation;
            spotLight.QuadraticAttenuation = QuadraticAttenuation;
            spotLight.Range            = Range;
            spotLight.SpotAngle        = SpotAngle;
            spotLight.LightColor       = LightColor;
            spotLight.Enabled          = Enabled;
            spotLight.IsCastingShadows = CastShadow;
        }
        protected override void CreateRenderLight()
        {
            CSpotLight spotLight = new CSpotLight();

            spotLight.LinearAttenuation    = LinearAttenuation;
            spotLight.ConstantAttenuation  = ConstantAttenuation;
            spotLight.QuadraticAttenuation = QuadraticAttenuation;
            spotLight.Range            = Range;
            spotLight.SpotAngle        = SpotAngle;
            spotLight.LightColor       = LightColor;
            spotLight.Enabled          = Enabled;
            spotLight.Transform.Parent = m_transform;
            spotLight.IsCastingShadows = CastShadow;
            m_renderLight = spotLight;
        }