texture_object#

part.texture_object(p0: int) int#

Color the selected part by a texture.

Args:
p0:

‘num’ the texture object to color by

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.texture_object(1)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error