API — ICoreEssentials/UI/Backends/AppKit/Effects
The public contract of 1 header(s) under ICoreEssentials/UI/Backends/AppKit/Effects — 1 class/struct definition(s), 3 declaration(s). Each section shows the header's banner and its public (and protected-virtual) surface exactly as the file writes it.
| Header | Defines | Declarations | Bases |
|---|---|---|---|
ICoreAppKitAnimatable.h | ICoreAppKitAnimatable | 3 | — |
ICoreAppKitAnimatable.h#
ICoreEssentials/UI/Backends/AppKit/Effects/ICoreAppKitAnimatable.h
ICoreAppKitAnimatable#
ICoreAppKitAnimatable.h:35 · class · 3 declaration(s)
What an ICoreAnimationTarget's handle POINTS AT on this backend.
class ICoreAppKitAnimatable {
public:
virtual ~ICoreAppKitAnimatable() = default;
// Set `name` to `value`. Returns false if this target has no such property,
// which the animation reports rather than swallowing.
virtual bool setAnimatedProperty(const char* name, double value) = 0;
// The property's current value, for an animation that starts from "wherever
// it is now". Returns false and leaves `out` alone for an unknown name.
[[nodiscard]] virtual bool animatedProperty(const char* name, double& out) const = 0;
};
};