PyANGKernel.GKTextureApplied¶
- class GKTextureApplied¶
Synopsis¶
Methods¶
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
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).
- __init__()¶
- __init__(name, horizontalReps, verticalReps)
- Parameters:
name – str
horizontalReps – int
verticalReps – int
Gets the number of horizontally tiled textures
Returns the texture name with its complete path and extension included in the name
Returns the texture name with ist extension but without its path
Gets the number of vertically tiled textures
Returns true is the texture name is empty
- setHorizontalRepetitions(value)¶
- Parameters:
value – int
Sets the number of the desired horizontally tiled textures
- setNameWithPath(name)¶
- Parameters:
name – str
Sets the texture name, that is, the complete path to the texture with its extension included. Example: C:UnknownCommandUnknownCommand.png
- setVerticalRepetitions(value)¶
- Parameters:
value – int
Sets the number of the desired vertically tiled textures