FMultiBinaryPoint
A point in a multi-binary space with multiple boolean values.
Multi-binary points represent multiple independent binary choices, where each dimension is a true/false value. Commonly used for representing multiple on/off states or binary flags.
struct FMultiBinaryPoint : public FPointMethods
FMultiBinaryPoint
inline FMultiBinaryPoint()Constructs an empty MultiBinaryPoint.
FMultiBinaryPoint
inline FMultiBinaryPoint(const TArray<bool> &InitialValues)Constructs a MultiBinaryPoint from an array of booleans.
Parameters
InitialValues(const TArray<bool>)
FMultiBinaryPoint
inline FMultiBinaryPoint(std::initializer_list<bool> InValues)Constructs a MultiBinaryPoint from an initializer list.
Parameters
InValues(std::initializer_list<bool>)
FMultiBinaryPoint
inline FMultiBinaryPoint(const bool *Data, int Num)Constructs a MultiBinaryPoint from a raw array of bools.
Parameters
-
Data(const bool) -
Num(int)
FMultiBinaryPoint
inline virtual ~FMultiBinaryPoint()Virtual destructor.
_CPPv4NK17FMultiBinaryPointixEi
inline bool operator[](int Index) constGets the boolean value at the given index.
Parameters
Index(int)
Add
inline void Add(bool Value)Adds a boolean value to the point.
Parameters
Value(bool)
Reset
inline virtual void Reset() overrideResets the values of the MultiBinaryPoint.
Accept
virtual void Accept(PointVisitor &Visitor) overrideAccepts a mutable visitor for the visitor pattern.
Parameters
Visitor(PointVisitor)
Accept
virtual void Accept(ConstPointVisitor &Visitor) const overrideAccepts a const visitor for the visitor pattern.
Parameters
Visitor(ConstPointVisitor)
ToString
inline virtual FString ToString() const overrideConverts this point to a string representation.
Attributes
Values
TArray<bool> ValuesThe boolean values of this point.