rigImGui 0.1.1
RigKit pack API - rigImGui
Loading...
Searching...
No Matches
rigkit::RigScenePropPayload Struct Reference

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.

Detailed Description

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).

Member Data Documentation

◆ ecsTag

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.

◆ hasRange

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.


The documentation for this struct was generated from the following file: