/// <summary> /// Initializes a new instance of the <see cref="FullscreenTextureObject"/> class. /// </summary> /// <param name="texture">The texture.</param> public FullscreenTextureObject(NamedOrGenericKey texture) { m_resTexture = texture; m_scaling = 1f; m_opacity = 1f; m_accentuationFactor = 0f; m_alphaMode = TexturePainterAlphaBlendMode.AlphaBlend; m_texturePainterHelpers = new IndexBasedDynamicCollection <TexturePainterHelper>(); }
/// <summary> /// Initializes a new instance of the <see cref="FullscreenTexture"/> class. /// </summary> /// <param name="texture">The texture.</param> public FullscreenTexture(NamedOrGenericKey texture) { _resTexture = texture; this.Scaling = 1f; this.Opacity = 1f; this.AccentuationFactor = 0f; this.AlphaBlendMode = TexturePainterAlphaBlendMode.AlphaBlend; _texturePainterHelpers = new IndexBasedDynamicCollection <TexturePainterHelper>(); }