Navigation
API > API/Runtime > API/Runtime/GeometryCore
Multi-spline implementation that can contain other splines Provides attribute functionality while allowing direct access to implementation-specific methods
| Name | TMultiSpline |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Splines/MultiSpline.h |
| Include Path | #include "Splines/MultiSpline.h" |
Syntax
template<typename SPLINETYPE>
class TMultiSpline :
public UE::Geometry::Spline::TSplineWrapper< SPLINETYPE > ,
private UE::Geometry::Spline::TSelfRegisteringSpline< TMultiSpline< SPLINETYPE >, SPLINETYPE::ValueType >
Inheritance Hierarchy
- TSelfRegisteringSpline → TMultiSpline
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| FChildSpline | Internal structure for child splines |
Enums
Public
| Name | Remarks |
|---|---|
| EMappingRangeSpace |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SplineType | typename TSplineWrapper< SPLINETYPE >::SplineType | Splines/MultiSpline.h | |
| ValueType | TSplineWrapper< SPLINETYPE >::ValueType | Splines/MultiSpline.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Children | TMap< FName, FChildSpline > | Splines/MultiSpline.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ClearAttributeChannel
(
const FName& Name |
Clears all values from a specific attribute channel | Splines/MultiSpline.h | |
| Clones an attribute channel to a new name | Splines/MultiSpline.h | ||
ImplType * CreateAttributeChannel
(
const FName& Name |
Creates an attribute channel and returns the typed implementation | Splines/MultiSpline.h | |
AttrType EvaluateAttribute
(
const FName& Name, |
Gets a value from an attribute channel at the specified parameter | Splines/MultiSpline.h | |
| Gets all attribute channel names present in this spline | Splines/MultiSpline.h | ||
TSplineInterface< AttrType > * GetAttributeChannel
(
FName Name |
Gets an attribute channel interface of the specified type | Splines/MultiSpline.h | |
| Splines/MultiSpline.h | |||
| Splines/MultiSpline.h | |||
| Gets names of attribute channels with a specific value type | Splines/MultiSpline.h | ||
FInterval1f GetMappedChildSpace
(
FName Name |
Map a child spline's domain into the primary spline's domain. | Splines/MultiSpline.h | |
const SplineType & GetSpline () |
Splines/MultiSpline.h | ||
SplineType & GetSpline () |
Splines/MultiSpline.h | ||
ImplType * GetTypedAttributeChannel
(
FName Name |
Gets a strongly-typed attribute channel with the specific implementation type | Splines/MultiSpline.h | |
bool HasAttributeChannel
(
const FName& Name |
Checks for an attribute channel called Name | Splines/MultiSpline.h | |
float MapParameterFromChildSpace
(
FName Name, |
Maps a parameter from child space to parent space | Splines/MultiSpline.h | |
float MapParameterToChildSpace
(
FName Name, |
Maps a parameter from parent space to child space | Splines/MultiSpline.h | |
bool RemoveAttributeChannel
(
const FName& Name |
Removes an attribute channel completely | Splines/MultiSpline.h | |
bool SetAttributeChannelRange
(
FName Name, |
Sets the mapping range for an attribute channel | Splines/MultiSpline.h |
Overridden from ISplineInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Clear() |
ISplineInterface Forwarding. | Splines/MultiSpline.h | |
virtual FString GetImplementationName() |
Splines/MultiSpline.h | ||
virtual FSplineTypeId::IdType GetTypeId() |
Default implementation of type ID (derived classes should override) | Splines/MultiSpline.h | |
virtual bool IsEqual
(
const ISplineInterface* OtherSpline |
Splines/MultiSpline.h | ||
virtual bool Serialize
(
FArchive& Ar |
Serializes the spline | Splines/MultiSpline.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetSplineTypeName() |
Splines/MultiSpline.h | ||
static const FSplineTypeId::IdType & GetStaticTypeId() |
Splines/MultiSpline.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool operator==
(
const TMultiSpline< SplineType >& Other |
Splines/MultiSpline.h |