Copyright © 1998-2010 MultiMedia Soft

Texture.PercentageColorMix property

Previous pageReturn to chapter overviewNext page

Type

short for Visual C++

integer for Visual Basic

 

 

Syntax

object.Texture.PercentageColorMix [=integer]

 

 

Remarks

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

Its value can range 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.

3dabm_i000077

3dabm_i000078

 

 

See also

Texture object.

TextureSurface property.

How to apply a texture to the button surface section.