UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DistributionFloatConstantCurve.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4#pragma once
5
6#include "CoreMinimal.h"
9#include "DistributionFloatConstantCurve.generated.h"
10
11UCLASS(collapsecategories, hidecategories=Object, editinlinenew, MinimalAPI)
13{
15
16
17 UPROPERTY(EditAnywhere, Category=DistributionFloatConstantCurve)
18 FInterpCurveFloat ConstantCurve;
19
20
21 //~ Begin UDistributionFloat Interface
22 ENGINE_API virtual float GetValue( float F = 0.f, UObject* Data = NULL, struct FRandomStream* InRandomStream = NULL ) const override;
23 //~ End UDistributionFloat Interface
24
25 //~ Begin FCurveEdInterface Interface
26 ENGINE_API virtual int32 GetNumKeys() const override;
27 ENGINE_API virtual int32 GetNumSubCurves() const override;
28 ENGINE_API virtual float GetKeyIn(int32 KeyIndex) override;
29 ENGINE_API virtual float GetKeyOut(int32 SubIndex, int32 KeyIndex) override;
30 ENGINE_API virtual FColor GetKeyColor(int32 SubIndex, int32 KeyIndex, const FColor& CurveColor) override;
31 ENGINE_API virtual void GetInRange(float& MinIn, float& MaxIn) const override;
32 ENGINE_API virtual void GetOutRange(float& MinOut, float& MaxOut) const override;
33 ENGINE_API virtual EInterpCurveMode GetKeyInterpMode(int32 KeyIndex) const override;
34 ENGINE_API virtual void GetTangents(int32 SubIndex, int32 KeyIndex, float& ArriveTangent, float& LeaveTangent) const override;
35 ENGINE_API virtual float EvalSub(int32 SubIndex, float InVal) override;
36 ENGINE_API virtual int32 CreateNewKey(float KeyIn) override;
37 ENGINE_API virtual void DeleteKey(int32 KeyIndex) override;
38 ENGINE_API virtual int32 SetKeyIn(int32 KeyIndex, float NewInVal) override;
39 ENGINE_API virtual void SetKeyOut(int32 SubIndex, int32 KeyIndex, float NewOutVal) override;
40 ENGINE_API virtual void SetKeyInterpMode(int32 KeyIndex, EInterpCurveMode NewMode) override;
41 ENGINE_API virtual void SetTangents(int32 SubIndex, int32 KeyIndex, float ArriveTangent, float LeaveTangent) override;
42 //~ End FCurveEdInterface Interface
43};
44
#define NULL
Definition oodle2base.h:134
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EInterpCurveMode
Definition InterpCurvePoint.h:16
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
ERichCurveInterpMode GetKeyInterpMode(ERichCurveCompressionFormat Format)
Definition RichCurve.cpp:2250
Definition DistributionFloatConstantCurve.h:13
Definition DistributionFloat.h:103
Definition Object.h:95
Definition Color.h:486
Definition RandomStream.h:20