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 FileName: string read FFileName write SetFileName;

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 FileName was not set yet).

Properties

Public property FileName: string read FFileName write SetFileName;

Load material properties from given XML file. See Castle1 and fps_game data for examples how this looks like, in material_properties.xml.


Generated by PasDoc 0.12.1 on 2013-02-04 20:26:51