Show: Delphi C++
Display Preferences

FMX.Types3D.TContext3D.SetMaterial

From XE2 API Documentation
Jump to: navigation, search

Delphi

procedure SetMaterial(const AMaterial: TMaterial);

C++

void __fastcall SetMaterial(const TMaterial* AMaterial);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TContext3D

Description

Sets various properties of the material given through the AMaterial parameter.

Material properties include the type of material color (diffuse, ambient, specular, emissive), texture, texture coordinates, shininess, shading type (flat or Gouraud), fill mode, and lighting.

See Also

Personal tools
Previous Versions
Translations