Copyright © 2003-2010 MultiMedia Soft

Texture.Mode property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Overrides Public Property Mode As TextureModes

 

[C#]

public override TextureModes Mode {get; set;}

 

[C++]

public: __property TextureModes get_Mode();

public: __property void set_Mode(TextureModes);

 

 

Remarks

The mode used to display a texture, loaded into the Texture.Filepath property, over the button surface.

Supported values are the following:

Enumerated value

Value

Meaning

TextureModes.None

0

No texture displayed: this setting is useful when you want to hide the available texture without removing the current texture settings.

3dcm_i000073

TextureModes.WholeSurface

1 (default)

The texture covers completely the button surface.

3dcm_i000074

TextureModes.Outside

2

The texture is displayed only on the external part of the button surface when a special effect (see the SpecialEffect property) is applied.

3dcm_i000075

TextureModes.Inside

3

The texture is displayed only on the internal part of the button surface when a special effect (see the SpecialEffect property) is applied.

3dcm_i000076

 

 

See also

Texture property.

TextureDesc class.

How to apply a texture to the button surface section.