![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SplineTypeRegistry.h>
Public Types | |
| using | TypeId = FSplineTypeId::IdType |
| using | FactoryFunction = TFunction< TUniquePtr< ISplineInterface >()> |
Static Public Member Functions | |
| static bool | RegisterType (TypeId TypeId, const FString &ImplName, const FString &ValueTypeName, FactoryFunction Factory) |
| static TUniquePtr< ISplineInterface > | CreateSpline (TypeId TypeId) |
| static TUniquePtr< ISplineInterface > | CreateSpline (const FString &ImplName, const FString &ValueTypeName) |
| static bool | GetTypeNames (TypeId TypeId, FString &OutImplName, FString &OutValueTypeName) |
| static TypeId | GetTypeId (const FString &ImplName, const FString &ValueTypeName) |
Registry for spline types Handles registration, lookup, and creation of spline implementations
| using UE::Geometry::Spline::FSplineTypeRegistry::FactoryFunction = TFunction<TUniquePtr<ISplineInterface>()> |
Factory function type for creating spline instances
|
inlinestatic |
Creates a spline instance by name pair
| ImplName | Implementation name |
| ValueTypeName | Value type name |
|
inlinestatic |
Creates a spline instance from a type ID
| TypeId | The type ID to create |
|
inlinestatic |
Gets the type ID for a name pair
| ImplName | Implementation name |
| ValueTypeName | Value type name |
|
inlinestatic |
Gets the names associated with a type ID
| TypeId | The type ID to look up |
| OutImplName | [out] Implementation name |
| OutValueTypeName | [out] Value type name |
|
inlinestatic |
Registers a type ID with a factory function
| TypeId | The type ID to register |
| ImplName | Implementation name |
| ValueTypeName | Value type name |
| Factory | Function that creates instances of this type |