plan_world_per_pixel
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
double (*plan_world_per_pixel)(Yu3dPlanCtx*)
Parameters
| Declaration | Name |
|---|---|
Yu3dPlanCtx* | — |
Returns
double
Same group (Plan rendering)
plan_add_segment · plan_add_marker · plan_add_text
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->plan_world_per_pixel(…). Guard with YU3D_HOST_HAS(host, plan_world_per_pixel) if your plugin must also load in an older host.