◆ AttributeType
◆ ObjectType
◆ SlateAttributeType
◆ TSlateMemberAttributeRef() [1/2]
template<
typename WidgetType ,
typename V = typename std::enable_if<std::is_base_of<SWidget, WidgetType>::value>::type>
◆ TSlateMemberAttributeRef() [2/2]
◆ Get() [1/2]
- Returns
- the SlateAttribute cached value; undefined when IsValid() returns false.
◆ Get() [2/2]
- Returns
- the SlateAttribute cached value or the DefaultValue if the reference is invalid.
◆ IdenticalTo() [1/2]
- Returns
- True if they have the same Getter or, if the Attribute is set, the same value.
◆ IdenticalTo() [2/2]
- Returns
- True if they have the same Getter or the same value.
◆ IsBound()
- Returns
- True if the SlateAttribute is bound to a getter function.
◆ IsValid()
- Returns
- if the reference is valid. A reference can be invalid if the SWidget is destroyed.
◆ ToAttribute()
Build a Attribute from this SlateAttribute.
◆ UpdateAndGet() [1/2]
Assumes the reference is valid. Shorthand for the boilerplace code: MyAttribute.UpdateValueNow(); MyAttribute.Get();
◆ UpdateAndGet() [2/2]
Shorthand for the boilerplace code: MyAttribute.UpdateValueNow(); MyAttribute.Get(DefaultValue);
- Returns
- the SlateAttribute cached value or the DefaultValue if the reference is invalid.
◆ UpdateValue()
Update the cached value and invalidate the widget if needed.
The documentation for this struct was generated from the following files: