Assimp  v3.1.1 (June 2014)
jassimp.AiMaterial.Property Class Reference

Data structure for a single material property. More...

Public Member Functions

int getIndex ()
 Textures: Specifies the index of the texture. More...
 
String getKey ()
 Returns the key of the property. More...
 
int getSemantic ()
 Textures: Specifies their exact usage semantic. More...
 
PropertyType getType ()
 Type information for the property. More...
 

Detailed Description

Data structure for a single material property.

As an user, you'll probably never need to deal with this data structure. Just use the provided get() family of functions to query material properties easily.

Member Function Documentation

int jassimp.AiMaterial.Property.getIndex ( )
inline

Textures: Specifies the index of the texture.

For non-texture properties, this member is always 0.

Returns
the index
String jassimp.AiMaterial.Property.getKey ( )
inline

Returns the key of the property.

Keys are generally case insensitive.

Returns
the key
int jassimp.AiMaterial.Property.getSemantic ( )
inline

Textures: Specifies their exact usage semantic.

For non-texture properties, this member is always 0 (or, better-said, aiTextureType_NONE).

Returns
the semantic
PropertyType jassimp.AiMaterial.Property.getType ( )
inline

Type information for the property.

Defines the data layout inside the data buffer. This is used by the library internally to perform debug checks and to utilize proper type conversions. (It's probably a hacky solution, but it works.)

Returns
the type

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