Copyright © 2003-2010 MultiMedia Soft

Texture.PercentageColorMix property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property PercentageColorMix As Short

 

[C#]

public short PercentageColorMix {get; set;}

 

[C++]

public: __property short get_PercentageColorMix();

public: __property void set_PercentageColorMix(short);

 

 

Remarks

The percentage used to mix the texture, previously set through the Texture.Filepath property, with the color chosen through the Texture.ColorToMix property.

It's value can be ranged from 0 to 100: by default the percentage value is 50%.

Below you can see two samples of textured button, the first one 50% mixed with Red RGB (255, 0, 0) color and the second one 99% mixed with Red RGB (255, 0, 0) color.

3dcm_i000077

3dcm_i000078

 

 

See also

Texture property.

TextureDesc class.

How to apply a texture to the button surface section.