Navigation
Unreal Engine C++ API Reference > Plugins > Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceSpline
References
Module | Niagara |
Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceSpline.h |
Include | #include "NiagaraDataInterfaceSpline.h" |
Syntax
UCLASS&40;EditInlineNew, Category&61;"Splines", CollapseCategories, Meta&61;&40;DisplayName&61;"Spline"&41;,
MinimalAPI&41;
class UNiagaraDataInterfaceSpline : public UNiagaraDataInterface
Remarks
Data Interface allowing sampling of in-world spline components. Note that this data interface is very experimental.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | bUseLUT | |
![]() ![]() ![]() |
int32 | NumLUTSteps | |
![]() ![]() ![]() |
TObjectPtr< AActor > | Source | The source actor from which to sample. |
![]() ![]() ![]() |
FNiagaraUserParameterBinding | SplineUserParameter | Reference to a user parameter if we're reading one. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UNiagaraDataInterfaceSpline
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | FindClosestUnitDistanceFromPositionWS
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | GetLocalToWorld
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | GetLocalToWorldInverseTransposed
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SampleSplineDirectionByUnitDistance
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SampleSplinePositionByUnitDistance
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SampleSplineRightVectorByUnitDistance
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SampleSplineRotationByUnitDistance
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SampleSplineTangentByUnitDistance
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SampleSplineUpVectorByUnitDistance
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | VMGetSplineLength
(
FVectorVMExternalFunctionContext& Context |
Overridden from UNiagaraDataInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. |
![]() ![]() ![]() |
bool | CanExecuteOnTarget
(
ENiagaraSimTarget Target |
|
![]() ![]() ![]() |
bool | CopyToInternal
(
UNiagaraDataInterface* Destination |
|
![]() ![]() |
void | DestroyPerInstanceData
(
void* PerInstanceData, |
Destroys the per instance data for this interface. |
![]() ![]() ![]() |
bool | Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. |
![]() ![]() |
void | GetCommonHLSL
(
FString& OutHLSL |
Allows data interfaces to provide common functionality that will be shared across interfaces on that type. |
![]() ![]() |
bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
|
![]() ![]() |
void | GetFunctions
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
Gets all the available functions for this data interface. |
![]() ![]() |
void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
|
![]() ![]() |
void | GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
Returns the delegate for the passed function signature. |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
bool | InitPerInstanceData
(
void* PerInstanceData, |
Initializes the per instance data for this interface. |
![]() ![]() ![]() |
int32 | The size of the data this class will provide to ProvidePerInstanceDataForRenderThread. | |
![]() ![]() ![]() |
int32 | Returns the size of the per instance data for this interface. | |
![]() ![]() |
bool | PerInstanceTick
(
void* PerInstanceData, |
Ticks the per instance data for this interface, if it has any. |
![]() ![]() ![]() |
void | SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. |
![]() ![]() |
bool | UpgradeFunctionCall
(
FNiagaraFunctionSignature& FunctionSignature |
Allows data interfaces the opportunity to rename / change the function signature and perform an upgrade. |
Overridden from UNiagaraDataInterfaceBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | BuildShaderParameters
(
FNiagaraShaderParametersBuilder& ShaderParametersBuilder |
Override this method to provide parameters to the GPU (SRV / UAV / Constants / etc) The most common usage will be to provide a single structure which is nested with other parameters. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |