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

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

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