texture_tvector#

part.texture_tvector(p0: float, p1: float, p2: float) int#

Sets the texture t-vector orientation and size. The t-vector maps to the vertical direction of the texture.

Only used if texture_coord_type is set to projection
Args:
p0:

‘x’ t vector x value in world coordinates

p1:

‘y’ t vector y value in world coordinates

p2:

‘z’ t vector z value in world coordinates

Examples:
ensight.part.select_begin(1)
ensight.part.modify_begin()
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