Assimp  v3.1.1 (June 2014)
jassimp.AiTextureMapMode Enum Reference

Defines how UV coordinates outside the [0...1] range are handled. More...

Static Public Member Functions

static AiTextureMapMode fromRawValue (int rawValue)
 Utility method for converting from c/c++ based integer enums to java enums. More...
 

Public Attributes

 CLAMP =(0x1)
 Texture coordinates outside [0...1] are clamped to the nearest valid value. More...
 
 DECAL =(0x3)
 If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel. More...
 
 MIRROR =(0x2)
 A texture coordinate u|v becomes u%1|v%1 if (u-(u%1))%2 is zero and 1-(u%1)|1-(v%1) otherwise. More...
 
 WRAP =(0x0)
 A texture coordinate u|v is translated to u%1|v%1. More...
 

Detailed Description

Defines how UV coordinates outside the [0...1] range are handled.

Commonly referred to as 'wrapping mode'.

Member Function Documentation

static AiTextureMapMode jassimp.AiTextureMapMode.fromRawValue ( int  rawValue)
inlinestatic

Utility method for converting from c/c++ based integer enums to java enums.

This method is intended to be used from JNI and my change based on implementation needs.

Parameters
rawValuean integer based enum value (as defined by assimp)
Returns
the enum value corresponding to rawValue

Member Data Documentation

jassimp.AiTextureMapMode.CLAMP =(0x1)

Texture coordinates outside [0...1] are clamped to the nearest valid value.

jassimp.AiTextureMapMode.DECAL =(0x3)

If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel.

jassimp.AiTextureMapMode.MIRROR =(0x2)

A texture coordinate u|v becomes u%1|v%1 if (u-(u%1))%2 is zero and 1-(u%1)|1-(v%1) otherwise.

jassimp.AiTextureMapMode.WRAP =(0x0)

A texture coordinate u|v is translated to u%1|v%1.


The documentation for this enum was generated from the following file: