FNiagaraCurveOwner

A curve owner for curves in a niagara System.

Windows
MacOS
Linux

Inheritance Hierarchy

FCurveOwnerInterface

FNiagaraCurveOwner

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraCurveOwner.h

Include

#include "NiagaraCurveOwner.h"

Syntax

class FNiagaraCurveOwner : public FCurveOwnerInterface

Remarks

A curve owner for curves in a niagara System.

Constructors

Name Description

Public function

FNiagaraCurveOwner()

Functions

Name Description

Public function

void

 

AddCurve

(
    FRichCurve& Curve,
    FName Name,
    FLinearColor Color,
    UObject& Owner,
    FNotifyCurveChanged CurveChangedHan...
)

Adds a curve to this curve owner.

Public function

void

 

EmptyCurves()

Removes all of the curves from the curve owner.

Public function

void

 

SetColorCurves

(
    FRichCurve& RedCurve,
    FRichCurve& GreenCurve,
    FRichCurve& BlueCurve,
    FRichCurve& AlphaCurve,
    FName Name,
    UObject& Owner,
    FNotifyCurveChanged CurveChangedHan...
)

Overridden from FCurveOwnerInterface

Name Description

Public function Virtual Const

FLinearColor

 

GetCurveColor

(
    FRichCurveEditInfo CurveInfo
)

Public function Virtual Const

TArray< FRic...

 

GetCurves()

FCurveOwnerInterface

Public function Virtual

TArray< FRic...

 

GetCurves()

Returns set of curves to query. Must not release the curves while being edited.

Public function Virtual Const

FLinearColor

 

GetLinearColorValue

(
    float InTime
)

Evaluate this color curve at the specified time

Public function Virtual Const

TArray< cons...

 

GetOwners()

Returns the owner(s) of the curve

Public function Virtual Const

bool

 

HasAnyAlphaKeys()

Public function Virtual Const

bool

 

IsLinearColorCurve()

Whether the curve represents a linear color

Public function Virtual

bool

 

IsValidCurve

(
    FRichCurveEditInfo CurveInfo
)

Validates that a previously retrieved curve is still valid for editing.

Public function Virtual

void

 

MakeTransactional()

Called to make curve owner transactional

Public function Virtual

void

 

ModifyOwner()

Called to modify the owner of the curve

Public function Virtual

void

 

OnCurveChanged

(
    const TArray< FRichCurveEditInfo > ...
)

Called when any of the curves have been changed

Typedefs

Name

Description

FNotifyCurveChanged

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss