texture_repeat_mode#

part.texture_repeat_mode(p0: str) int#

Indicates that a texture repeats outside of the defined target area or uses the border color.

Args:
p0:

‘mode’

  • repeat

  • clamp

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.texture_object(1)
ensight.part.texture_repeat_mode("clamp")
ensight.part.texture_mode("decal")
ensight.part.modify_end()
Returns:

zero on success, non-zero on error