![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CustomAttributeExample.h>
Public Member Functions | |
| FFoo ()=default | |
| FFoo (float InValue) | |
| bool | Serialize (FArchive &Ar) |
| bool | operator== (const FFoo &Other) const |
| FFoo | operator- (const FFoo &Other) const |
| FFoo | operator+ (const FFoo &Other) const |
| FFoo | operator* (float Scale) const |
| float | Size () const |
| float | SizeSquared () const |
| float | Dot (const FFoo &Other) const |
| FFoo | GetSafeNormal () const |
Public Attributes | |
| float | Value = 0.0f |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FFoo &Foo) |
Simple custom attribute type for splines Demonstrates the requirements for a custom attribute type
Custom types need to provide certain operations for use with splines:
If your type doesn't provide some of these methods, spline operations will still work using fallback implementations, but may be less efficient.
|
default |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
| float UE::Geometry::Spline::FFoo::Value = 0.0f |