plan_add_marker
plan-view render sink (world metres; colours linear 0..1; *_px are device-independent screen pixels, zoom-invariant)
This function shares its documentation with the rest of the Plan rendering group above.
Prototype
void (*plan_add_marker)(Yu3dPlanCtx*, double x, double y, float r, float g, float b)
Parameters
| Declaration | Name |
|---|---|
Yu3dPlanCtx* | — |
double x | x |
double y | y |
float r | r |
float g | g |
float b | b |
Returns
void
Same group (Plan rendering)
plan_add_segment · plan_add_text · plan_world_per_pixel
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->plan_add_marker(…). Guard with YU3D_HOST_HAS(host, plan_add_marker) if your plugin must also load in an older host.