4#include "../third_party/imgui/imgui.h"
83 float cornerRadius = 5.0f
105 float cornerRadius = 5.0f
129 float cornerRadius = 5.0f
ComponentTypeID GetComponentTypeID_Static()
Encapsule l'effet de sélection des nodes (glow + bordure épaisse)
void RenderCompleteSelection(const ImVec2 &minScreen, const ImVec2 &maxScreen, ImU32 borderColor, float baseWidth, float canvasZoom=1.0f, float nodeScale=1.0f, float cornerRadius=5.0f) const
Rend l'ensemble de l'effet de sélection (glow + bordure)
void SetBaseGlowSize(float size)
Définit la taille de base du glow (avant zoom/scale)
bool IsGlowEnabled() const
float GetBaseGlowSize() const
void SetGlowEnabled(bool enabled)
Active/désactive l'effet de glow (utile pour performance) @default true.
float GetGlowAlpha() const
float GetBorderWidthMultiplier() const
void RenderSelectionGlow(const ImVec2 &minScreen, const ImVec2 &maxScreen, float canvasZoom=1.0f, float nodeScale=1.0f, float cornerRadius=5.0f) const
Dessine le glow de sélection (fond lumineux)
void ApplyStyle_OlympeBlue()
Style standard "Olympe Blue" - Cyan vif avec glow modéré
void RenderSelectionBorder(const ImVec2 &minScreen, const ImVec2 &maxScreen, ImU32 borderColor, float baseWidth, float canvasZoom=1.0f, float cornerRadius=5.0f) const
Rend la bordure de sélection (épaissie)
void ApplyStyle_GreenEnergy()
Style "Green Energy" - Vert lumineux pour emphasis.
void SetGlowColor(const Vector &color)
Définit la couleur du glow de sélection.
Vector GetGlowColor() const
SelectionEffectRenderer()
void SetBorderWidthMultiplier(float multiplier)
Définit le multiplicateur d'épaisseur de bordure.
void ApplyStyle_RedAlert()
Style "Red Alert" - Rouge vif pour avertissements/erreurs.
~SelectionEffectRenderer()=default
float m_borderWidthMultiplier
void ApplyStyle_PurpleMystery()
Style "Purple Mystery" - Violet/magenta.
void SetGlowAlpha(float alpha)
Définit l'alpha (transparence) du glow.
void ApplyStyle_GoldAccent()
Style "Gold Accent" - Orange/or pour éditeurs de spécialité
< Provides AssetID and INVALID_ASSET_ID