Version: 2019.4
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);

パラメーター

propertyNameプロパティーの名前
valueThe retrieved value.

戻り値

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

説明

Retrieves the value of a specified material property.