Engines/FlatRedBallXNA/FlatRedBall/Graphics/GenericEffect.cs
/// <summary>
/// Sets the parameters for the dual texture effect
/// </summary>
Sets the parameters for the dual texture effect
Sets the parameters for the dual texture effect
private void SetDualTextureEffectParameters()
        {
#if !MONOGAME
            mDualTextureEffect.World              = this.World;
            mDualTextureEffect.View               = this.View;
            mDualTextureEffect.Projection         = this.Projection;
            mDualTextureEffect.FogColor           = this.FogColor;
            mDualTextureEffect.FogEnabled         = this.FogEnabled;
            mDualTextureEffect.FogStart           = this.FogStart;
            mDualTextureEffect.VertexColorEnabled = this.VertexColorEnabled;
            mDualTextureEffect.Alpha              = this.Alpha;
            mDualTextureEffect.DiffuseColor       = this.DiffuseColor;
            mDualTextureEffect.Texture            = this.Texture;
            mDualTextureEffect.Texture2           = this.Texture2;
#endif
        }
private void SetDualTextureEffectParameters ( ) { if ! MONOGAME mDualTextureEffect . World = this . World ; mDualTextureEffect . View = this . View ; mDualTextureEffect . Projection = this . Projection ; mDualTextureEffect . FogColor = this . FogColor ; mDualTextureEffect . FogEnabled = this . FogEnabled ; mDualTextureEffect . FogStart = this . FogStart ; mDualTextureEffect . VertexColorEnabled = this . VertexColorEnabled ; mDualTextureEffect . Alpha = this . Alpha ; mDualTextureEffect . DiffuseColor = this . DiffuseColor ; mDualTextureEffect . Texture = this . Texture ; mDualTextureEffect . Texture2 = this . Texture2 ; endif }
Sets the parameters for the dual texture effect
Sets the parameters for the dual texture effect