texture_interpolation#

part.texture_interpolation(p0: str) int#

Sets the texture interpolation mode to use the nearest texture pixel or interpolate.

Args:
p0:

‘mode’

  • nearest

  • linear

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

zero on success, non-zero on error