Class TMaterialProperties

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMaterialProperties = class(specialize TFPGObjectList<TMaterialProperty>)

Description

Material properties collection, see TMaterialProperty.

Hierarchy

  • TFPGObjectList
  • TMaterialProperties

Overview

Methods

Public function FindTextureBaseName(const TextureBaseName: string): TMaterialProperty;

Properties

Public property URL: string read FURL write SetURL;
Public property FileName: string read FURL write SetURL; deprecated;

Description

Methods

Public 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

Public 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.

Public property FileName: string read FURL write SetURL; deprecated;

Warning: this symbol is deprecated.

Deprecated name for URL.


Generated by PasDoc 0.13.0 on 2014-10-26 05:15:13