User Tools

Site Tools


api:dk11:delphi:gistypes.tgis_material

Table of Contents

TGIS_Material record

DK11 for Delphi | GisTypes.TGIS_Material | Records | Fields

Material.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
type
  TGIS_Material = record
  end;
// C++ Builder
struct DECLSPEC_DRECORD TGIS_Material
{
};

Fields

Inherited Protected
Name Visibility Description
Bpp public Texture bytes per pixel.
Buffer public Texture buffer.
Color public Fill Color.
CompressionType public Type of material compression.
EdgeColor public Edge color.
EdgeWidth public Edge width [0-255].
HasColor public True if material has defined color.
HasCullBackFaces public True if CullBackFaces.
HasEdgeColor public True if material has defined edge color.
HasEdgeWidth public True if material has defined edge width.
HasMaterialColor public True if material has defined colors in MaterialColors.
HasSharedTexture public True if material has shared texture.
HasShininess public True if material has defined shininess.
HasTextureMap public True if material has defined texture map.
HasTransparency public True if material has defined transparency.
Height public Texture height.
MaterialColors public Material colors [index : type] : 0 : diffuse, 1 : ambient, 2 : specular, 3 : emissive, 4 : transparent, 5 : reflective
SharedTextureIndex public Index of shared texture map.
Shininess public Percent shininess [0-100].
Size public Texture buffer size.
Transparency public Percent transparency [0-100].
Width public Texture width.

2022/11/30 19:19

Page Tools