texture_mode#
- part.texture_mode(p0: str) int #
Set the texture mode to be used for the part coloring.
- Args:
- p0:
‘mode’
replace
decal
modulate
- 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