Class TGeometryTexCoord

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGeometryTexCoord = class(TObject)

Description

Texture coord array information, for TGeometryArrays. If Generation <> tgExplicit, then the actual array data is not stored.

Hierarchy

  • TObject
  • TGeometryTexCoord

Overview

Fields

Public Generation: TTextureCoordinateGeneration;
Public GenerationBoundsVector: TTextureGenerationVectors;
Public GenerationProjectorMatrix: TProjectorMatrixFunction;
Public Dimensions: TTexCoordDimensions;
Public Offset: Integer;

Description

Fields

Public Generation: TTextureCoordinateGeneration;
 
Public GenerationBoundsVector: TTextureGenerationVectors;

If Generation is tgBounds2d or tgBounds3d, then these are vectors used to generate texture coords from local (object space) vertex positions. TextureGen[0] says how to generate S texture coord, TextureGen[1] says how to generate T texture coord, and TextureGen[2] (only for tgBounds3d) is fo R tex coord.

Public GenerationProjectorMatrix: TProjectorMatrixFunction;

For Generation = tgProjection, this is the function that generates matrix used for glTexGen

Public Dimensions: TTexCoordDimensions;

Dimensions, only for Generation = tgExplicit.

Public Offset: Integer;

Offset, only for Generation = tgExplicit.


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