public void RemoveGraphicsTexture(LCC3GraphicsTexture texture)
 {
     this.RemoveGraphicsTextureNamed(texture.Name);
 }
 public virtual void PopulateFrom(LCC3GraphicsTexture anotherTexture)
 {
     // Subclasses to implement
 }
Example #3
0
        private bool LoadTextureFile(string fileName)
        {
            _graphicsTexture = new LCC3GraphicsTexture(fileName);

            return (_graphicsTexture != null);
        }
 public static void AddGraphicsTexture(LCC3GraphicsTexture texture)
 {
     if (texture != null)
     {
         _texturesByName[texture.Name] = texture;
     }
 }
Example #5
0
        public void PopulateFrom(LCC3Texture texture)
        {
            base.PopulateFrom(texture);

            _graphicsTexture = texture.GraphicsTexture;
            _lightDirection = texture.LightDirection;
            _isBumpMap = texture.IsBumpMap;
        }