Esempio n. 1
0
 public bool TryGetProperty(string propertyName, out TexturePropertyDescription value) => TryGetTextureProperty(propertyName, out value);
Esempio n. 2
0
 extern bool TryGetTextureProperty(string propertyName, out TexturePropertyDescription value);
 static void SetMaterialTextureProperty(string propertyName, Material material, TexturePropertyDescription textureProperty)
 {
     material.SetTexture(propertyName, textureProperty.texture);
     material.SetTextureOffset(propertyName, textureProperty.offset);
     material.SetTextureScale(propertyName, textureProperty.scale);
 }