|
rigImGui 0.1.1
RigKit pack API - rigImGui
|
Payload for kRigScenePropPayload. More...
#include <rigImGui/src/SceneDragPayload.h>
Public Attributes | |
| const void * | ecsTag = nullptr |
| Owning ECS (opaque). | |
| bool | hasRange = false |
| Slider limits of the field that was dragged. | |
Payload for kRigScenePropPayload.
propType is a propTypes value (EPT_FLOAT, ...). name must match GetProperties() / drive-slot names so applyRefWrites can write the field.
Properties (RenderProps(..., entityId)) emit pins automatically. Custom ImGui: PropDragSource src(entityId); widget; offerScenePropDrag("Width", EPT_INT); then drag the field name (or Alt-drag the value) onto the Node Editor or a Patch Destination. Alt+drop adds an LFO through a Map onto the slider range (floats only).
| const void* rigkit::RigScenePropPayload::ecsTag = nullptr |
Owning ECS (opaque).
Null = engine registry. Multi-scene hosts tag drags so an editor bound to another ECS rejects the drop - entt ids are only unique within one registry.
| bool rigkit::RigScenePropPayload::hasRange = false |
Slider limits of the field that was dragged.
Alt+drop uses them as the Map output range in front of an LFO. False when the widget has no range.