GetAverageTextureColor
Category: Landscape
/ Material
Since engine version: 5.4 OC
Description
Returns the average color of the given material texture.
Syntax
int GetAverageTextureColor(string texture_name);
Parameter
- texture_name:
Name of the texture for which to retrieve the average color.