tip_rgb#

vctarrow.tip_rgb(p0: float, p1: float, p2: float) int#

Change the color of the arrow tips

The color of the tip is only used when the tip shape is ‘tipped’
Args:
p0:

‘red_val’ red, green, blue components of the color tip (range 0.0 to 1.0)

p1:

‘grn_val’ red, green, blue components of the color tip (range 0.0 to 1.0)

p2:

‘blu_val’ red, green, blue components of the color tip (range 0.0 to 1.0)

Examples:
ensight.vctarrow.begin()
ensight.vctarrow.variable("VITESSE")
ensight.vctarrow.end()
ensight.vctarrow.create()
ensight.part.select_begin(2)
ensight.part.modify_begin()
ensight.vctarrow.tip_shape("tipped")
ensight.part.modify_end()
ensight.part.modify_begin()
ensight.vctarrow.tip_rgb(0.0000e00,1.0000e00,0.0000e00)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error