texture_svector#

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

Sets the texture s-vector orientation and size. The s-vector maps to the horizontal direction of the texture.

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

‘x’ s vector x value in world coordinates

p1:

‘y’ s vector y value in world coordinates

p2:

‘z’ s 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