texture_sorigin_nodeid#
- part.texture_sorigin_nodeid(p0: int) int #
Sets the s and t vector orientation according to the node ids described
Only used if the texture_coord_type is set to projection and the texture_origin_use is set to offsetvectors_by_nodeid- Args:
- p0:
‘node_id’ The node id to use to describe the s/t texture direction.
- Examples:
ensight.part.select_begin(1) ensight.part.modify_begin() ensight.part.texture_coord_type("projection") ensight.part.texture_origin_use("offsetvectors_by_nodeid") ensight.part.texture_origin_nodeid(3443) ensight.part.texture_sorigin_nodeid(4944) ensight.part.texture_torigin_nodeid(5998) ensight.part.texture_origin(1,0,0) 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