FMX.MaterialSources.TMaterialSource.ValidMaterial

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function ValidMaterial(const MaterialObject: TMaterialSource): TMaterial;

C++

__classmethod Fmx::Types3d::TMaterial* __fastcall ValidMaterial(TMaterialSource* const MaterialObject);

Properties

Type Visibility Source Unit Parent
function public
FMX.MaterialSources.pas
FMX.MaterialSources.hpp
FMX.MaterialSources TMaterialSource

Description

Gets the TMaterial within a specified material source, if valid.

MaterialObject specifies the TMaterialSource for which to get the valid material.

If TMaterialSource is not assigned, ValidMaterial returns nil.

See Also