texture_coord_type#

part.texture_coord_type(p0: str) int#

Sets the texture mapping to use a projection or to use two variables describing the s and t vector values.

Args:
p0:

‘type’

  • projection

  • variable

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
ensight.part.texture_coord_type("projection")
ensight.part.texture_origin(-1,.2,1)
ensight.part.texture_svector(2,0,0)
ensight.part.texture_tvector(0,2,0)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error