Category: Landscape
/ Material
Since engine version: 4.0 OC
GetAverageTextureColor
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.
See also: GetTexture