marker_rgb#

query_ent_var.marker_rgb(p0: float, p1: float, p2: float) int#

Specify the color for the visible markers indicating query location.

This command must lie between either a “query_ent_var: begin” and “query_ent_var: end” pair, or a “query_ent_var: modify_begin” and “query_ent_var: modify_end” pair.
Used only if query_ent_var: marker_visible is on.
Args:
p0:

‘red_val’ red, green, or blue component of color (0. to 1.)

p1:

‘grn_val’ red, green, or blue component of color (0. to 1.)

p2:

‘blu_val’ red, green, or blue component of color (0. to 1.)

Examples:
ensight.query_ent_var.modify_begin()
# WARNING: following line includes OBSOLETE call (ensight.query_ent_var.type).
ensight.query_ent_var.type("distance")
ensight.query_ent_var.constrain("1d_part")
ensight.query_ent_var.marker_rgb(1.0000e+00,0.0000e+00,1.0000e+00)
ensight.query_ent_var.modify_end()
Returns:

zero on success, non-zero on error