UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::Spline::FSplineTypeId Class Reference

#include <SplineTypeId.h>

Public Types

using IdType = uint32
 

Static Public Member Functions

static constexpr IdType GenerateTypeId (const TCHAR *ImplName, const TCHAR *ValueTypeName)
 
static constexpr uint32 CompileTimeHash (const TCHAR *Str)
 
static constexpr uint16 GetImplHash (IdType TypeId)
 
static constexpr uint16 GetValueHash (IdType TypeId)
 
static bool CheckTypeIdConflict (IdType TypeId, const FString &ImplName, const FString &ValueTypeName, const FString &ExistingImplName, const FString &ExistingValueTypeName)
 

Detailed Description

Type identification system for splines with compile-time IDs

Member Typedef Documentation

◆ IdType

Member Function Documentation

◆ CheckTypeIdConflict()

static bool UE::Geometry::Spline::FSplineTypeId::CheckTypeIdConflict ( IdType  TypeId,
const FString &  ImplName,
const FString &  ValueTypeName,
const FString &  ExistingImplName,
const FString &  ExistingValueTypeName 
)
inlinestatic

Checks if two type IDs might be in conflict Used during registration to detect potential hash collisions

◆ CompileTimeHash()

static constexpr uint32 UE::Geometry::Spline::FSplineTypeId::CompileTimeHash ( const TCHAR Str)
inlinestaticconstexpr

Compute a compile-time hash from a string Simple implementation that's sufficient for our needs

◆ GenerateTypeId()

static constexpr IdType UE::Geometry::Spline::FSplineTypeId::GenerateTypeId ( const TCHAR ImplName,
const TCHAR ValueTypeName 
)
inlinestaticconstexpr

Generates a type ID for a specific implementation/value type pair Uses compile-time hash of names to create deterministic IDs

Parameters
ImplNameImplementation name (e.g., "BSpline3", "PolyBezier")
ValueTypeNameValue type name (e.g., "Vector", "Float")
Returns
A compile-time generated type ID

◆ GetImplHash()

static constexpr uint16 UE::Geometry::Spline::FSplineTypeId::GetImplHash ( IdType  TypeId)
inlinestaticconstexpr

Extracts the implementation hash portion from a type ID

◆ GetValueHash()

static constexpr uint16 UE::Geometry::Spline::FSplineTypeId::GetValueHash ( IdType  TypeId)
inlinestaticconstexpr

Extracts the value type hash portion from a type ID


The documentation for this class was generated from the following file: