TextureWrapMode Enumeration |
Defines how UV coordinates outside the [0..1] range are handled. Commonly
referred to as the 'wrapping mode'
Namespace: Internal.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic enum TextureWrapMode
Members| Member name | Value | Description |
|---|
| Wrap | 0 |
A texture coordinate u|v is translated to u % 1| v % 1.
|
| Clamp | 1 |
Texture coordinates outside [0...1] are clamped to the nearest valid value.
|
| Mirror | 2 |
A texture coordinate u|v becomes u1|v1 if (u - (u % 1)) % 2 is zero
and 1 - (u % 1) | 1 - (v % 1) otherwise.
|
| Decal | 3 |
If the texture coordinates for a pixel are outside [0...1] the texture is not
applied to that pixel.
|
See Also