Class TQuake3LevelMesh

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TQuake3LevelMesh = class(TAnimatedMesh)

Description

Interface for a Mesh which can be loaded directly from a Quake3 .bsp-file.
The Mesh tries to load all textures of the map. There are currently no additional methods in this class, but maybe there will be some in later releases if there are feature requests.

Hierarchy

Overview

Methods

Public constructor Create(Reference: Pointer; AutoDrop: Boolean = False);
Public function GetEntity(Index: LongWord): TQuake3Shader; inline;
Public function GetShader(const FileName: AnsiString; IsFileNameValid: Boolean = True): TQuake3Shader; overload; inline;
Public function GetShader(Index: LongWord): TQuake3Shader; overload; inline;

Properties

Public property EntityCount: LongWord read GetEntityCount;

Description

Methods

Public constructor Create(Reference: Pointer; AutoDrop: Boolean = False);

Constructor.
Only used internally.

Public function GetEntity(Index: LongWord): TQuake3Shader; inline;

Returns a single entity.

Parameters
Index
The entity's index.
Public function GetShader(const FileName: AnsiString; IsFileNameValid: Boolean = True): TQuake3Shader; overload; inline;

Loads a shader definition from file.

Parameters
FileName
Name of the shaderfile, defaults to /scripts if fileNameIsValid is false.
IsFileNameValid
Specifies whether the filename is valid in the current situation.
Public function GetShader(Index: LongWord): TQuake3Shader; overload; inline;

Returns a single shader.

Parameters
Index
The shader's index.

Properties

Public property EntityCount: LongWord read GetEntityCount;

The number of entities in the level.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22