Castle Game Engine: CastleMaterialProperties: Class TMaterialProperties

# Class TMaterialProperties
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleMaterialProperties ## Declaration `type TMaterialProperties = class(specialize TFPGObjectList<TMaterialProperty>)` ## Description Material properties collection, see TMaterialProperty. ## Hierarchy TFPGObjectList TMaterialProperties ## Overview ### Methods
| `function FindTextureBaseName(const TextureBaseName: string): TMaterialProperty;`
### Properties
| `property URL: string read FURL write SetURL;`
| `property FileName: string read FURL write SetURL; deprecated;`
## Description ### Methods
| `function FindTextureBaseName(const TextureBaseName: string): TMaterialProperty;`
Find material properties for given texture basename. Returns `Nil` if no material properties are found (in particular, if URL was not set yet).
### Properties
| `property URL: string read FURL write SetURL;`
Load material properties from given XML file. Set this to empty string to unload previously loaded properties. See Castle1 and fps_game data for examples how this looks like, in `material_properties.xml`.
| `property FileName: string read FURL write SetURL; deprecated;`
Warning: this symbol is deprecated. Deprecated name for URL.
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:13