Aimsun Next Scripting
22
|
Public Member Functions | |
GKTextureApplied () | |
GKTextureApplied (const QString &name, int horizontalReps, int verticalReps) | |
void | setNameWithPath (const QString &name) |
const QString & | getNameWithPath () const |
QString | getNameWithoutPath () const |
void | setHorizontalRepetitions (int value) |
int | getHorizontalRepetitions () const |
void | setVerticalRepetitions (int value) |
int | getVerticalRepetitions () const |
Texture information used in a 3D object (extruded polygons and polyline for example). It defines both a texture (a image) and the horizontal and vertical repetitions (use 0 to use a non repeated image).
GKTextureApplied::GKTextureApplied | ( | ) |
GKTextureApplied::GKTextureApplied | ( | const QString & | name, |
int | horizontalReps, | ||
int | verticalReps | ||
) |
int GKTextureApplied::getHorizontalRepetitions | ( | ) | const |
Gets the number of horizontally tiled textures
QString GKTextureApplied::getNameWithoutPath | ( | ) | const |
Returns the texture name with ist extension but without its path
const QString & GKTextureApplied::getNameWithPath | ( | ) | const |
Returns the texture name with its complete path and extension included in the name
int GKTextureApplied::getVerticalRepetitions | ( | ) | const |
Gets the number of vertically tiled textures
void GKTextureApplied::setHorizontalRepetitions | ( | int | value | ) |
Sets the number of the desired horizontally tiled textures
void GKTextureApplied::setNameWithPath | ( | const QString & | name | ) |
Sets the texture name, that is, the complete path to the texture with its extension included. Example: C:\textures\texture1.png
void GKTextureApplied::setVerticalRepetitions | ( | int | value | ) |
Sets the number of the desired vertically tiled textures