Wiki-home » About VastPark » Specifications » IMML » IMML Help »
Texture Help¶
Introduction¶
Defines a custom texture from a resource and the mapping to use when applying it to a material group
Example¶
1 <Texture Type="Diffuse" TileU="1" TileV="1" Source="MyTexture.png" />
Attributes¶
Source¶
| Type |
xs:string |
| Use |
required |
| Documentation |
The resource for this element |
Type¶
| Type |
imml:TextureType |
| Use |
optional |
| Default |
None |
| Documentation |
The Type of texture loading to use |
TileU¶
| Type |
xs:float |
| Use |
optional |
| Default |
1.0 |
| Documentation |
The number of segments in the U direction to use when tiling |
TileV¶
| Type |
xs:float |
| Use |
optional |
| Default |
1.0 |
| Documentation |
The number of segments in the V direction to use when tiling |
See Also¶