public bool TryGetProperty (string propertyName, out float value);
public bool TryGetProperty (string propertyName, out Vector4 value);
public bool TryGetProperty (string propertyName, out string value);
public bool TryGetProperty (string propertyName, out AssetImporters.TexturePropertyDescription value);

Parameters

propertyNameName of the property.
valueThe retrieved value.

Returns

bool Returns true if the property exists on the material. Returns false otherwise.

Description

Retrieves the value of a specified material property.