Interface IChainElementContainer<TElement>
- Namespace
- RichHudFramework.UI
- Assembly
- RichHudClient.dll
Interface for objects containing UI elements compatible with HudChain<TElementContainer, TElement>.
Provides layout weighting information required for proportional sizing.
public interface IChainElementContainer<TElement> : IHudNodeContainer<TElement> where TElement : HudElementBase
Type Parameters
TElement
- Inherited Members
Properties
AlignAxisScale
Determines how excess space in the HudChain is distributed along the alignment axis.
0f = The element retains its fixed size (default behavior).
> 0f = The element scales proportionally relative to the sum of all weighted elements to fill remaining space.
Note: This value is ignored if the Chain is using FitMembersAlignAxis.
float AlignAxisScale { get; set; }