label_rgb#
- arrow.label_rgb(p0: float, p1: float, p2: float) int #
Specifies the rgb components of the color of the label of the selected 3D arrow(s).
- Args:
- p0:
‘red_val’ red, green, blue components of the color (0.0 to 1.0)
- p1:
‘grn_val’ red, green, blue components of the color (0.0 to 1.0)
- p2:
‘blu_val’ red, green, blue components of the color (0.0 to 1.0)
- Examples:
ensight.arrow.new_arrow() ensight.arrow.select_begin(0) ensight.arrow.label_text("Label") ensight.arrow.visible("ON") ensight.arrow.origin_by("XYZ") ensight.arrow.location(0.000000e+000,0.000000e+000,2.000000e+000) ensight.arrow.normal(0.000000e+000,0.000000e+000,-1.000000e+000) ensight.arrow.offset(5.000000e-001) ensight.arrow.size(1.500000e+000) ensight.arrow.radius(1.250000e-001) ensight.arrow.tip_length(3.000000e-001) ensight.arrow.tip_radius(2.250000e+000) ensight.arrow.rgb(1.000000e+000,1.000000e+000,0.000000e+000) ensight.arrow.light_shin(9.000000e+000) ensight.arrow.light_h_int(4.700000e-001) ensight.arrow.light_diff(2.100000e-001) ensight.arrow.label_rgb(0.000000e+000,1.000000e+000,0.000000e+000) ensight.arrow.label_size(3.600000e+001) ensight.arrow.label_offset(.5)
- Returns:
zero on success, non-zero on error