blend_position#

viewport.blend_position(p0: float) int#

Specify the position of the specified blend level of the corresponding blended background type for the selected viewport(s).

Blend level 0 must be located at 0.
Blend level N must be locted at 1.
Blend level N must be > N-1.
Args:
p0:

‘position’ normalized position in I[0.,1.] for the blended background level

Examples:
ensight.viewport.select_begin(0)
ensight.viewport.background_type("blended")
ensight.viewport.blend_levels(3)
ensight.viewport.blend_editlevel(2)
ensight.viewport.blend_position(3.2000e-01)
ensight.viewport.blend_rgb(0.0000e+00,0.0000e+00,1.0000e+00)
Returns:

zero on success, non-zero on error