MCurve

A temporary curve that is going through the key-reduction process.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Interpolation.h

Include

#include "Interpolation.h"

Syntax

template<class TYPE, int DIM>
class MCurve

Remarks

A temporary curve that is going through the key-reduction process.

Variables

Name Description

Public variable

TArray< KEY >

 

ControlPoints

Public variable

float

 

IntervalEnd

Public variable

float

 

IntervalStart

Public variable

FInterpCurve< T...

 

OutputCurve

Public variable

float

 

RelativeTolerance

Public variable

TArray< FIntPoi...

 

SegmentQueue

Public variable

TYPE

 

Tolerance

Functions

Name Description

Public function

void

 

CopyCurvePoints

(
    TArray< TYPE2 >& NewCurve,
    int32 NewCurveDimensionCount,
    int32 LocalCurveDimensionOffset
)

Public function

void

 

CreateControlPoints

(
    const FInterpCurve< TYPE2 >& OldCu...,
    int32 CurveDimensionCount
)

Public function

void

 

FillControlPoints

(
    const FInterpCurve< TYPE2 >& OldCu...,
    int32 OldCurveDimensionCount,
    int32 LocalCurveDimensionOffset
)

Public function

KEY *

 

FindControlPoint

(
    float Time
)

This badly needs to be optimized out.

Public function

bool

 

HasControlPoints()

Public function

void

 

RecalculateTangents

(
    int32 CurvePointIndex
)

Public function

void

 

Reduce()

Public function

void

 

ReduceSegment

(
    int32 StartIndex,
    int32 EndIndex
)

Public function

KEY *

 

SortedAddControlPoint

(
    float Time
)

Called by the function below, this one is fairly inefficient and needs to be optimized out, later.

Typedefs

Name

Description

KEY

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback