UNiagaraDataInterfaceHoudiniCSV

Data Interface allowing sampling of Houdini CSV files.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

HoudiniNiagara

Header

/Engine/Plugins/FX/HoudiniNiagara/Source/HoudiniNiagara/Classes/NiagaraDataInterfaceHoudiniCSV.h

Include

#include "NiagaraDataInterfaceHoudiniCSV.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(EditInlineNew, Category="Houdini Niagara", Meta=(DisplayName="Houdini Array Info"))
class UNiagaraDataInterfaceHoudiniCSV : public UNiagaraDataInterface

Remarks

Data Interface allowing sampling of Houdini CSV files.

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta

UHoudiniCSV ...

 

HoudiniCSVAsset

Houdini CSV Asset to sample.

Protected variable UProperty

int32

 

LastSpawnedPointID

Last Spawned PointID.

Protected variable UProperty

float

 

LastSpawnTime

Last Spawn time.

Constructors

Name Description

Public function

UNiagaraDataInterfaceHoudiniCSV

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

GetColor

(
    FVectorVMContext& Context
)

Returns the color for a given row in the CSV file.

Public function

void

 

GetFloatValue

(
    FVectorVMContext& Context
)

Returns the float value at a given row and column in the CSV file.

Public function

void

 

GetImpulse

(
    FVectorVMContext& Context
)

Returns the impulse value for a given row in the CSV file.

Public function

void

 

GetLastRowIndexAtTime

(
    FVectorVMContext& Context
)

Returns the last index of the points that should be spawned at time t.

Public function Const

int32

 

GetMaxNumberOfIndexesPerPoints()

Public function

void

 

GetNormal

(
    FVectorVMContext& Context
)

Returns the normals for a given row in the CSV file.

Public function

void

 

GetNumberOfColumns

(
    FVectorVMContext& Context
)

Returns the number of columns found in the CSV file.

Public function Const

int32

 

GetNumberOfColumns()

Public function

void

 

GetNumberOfPoints

(
    FVectorVMContext& Context
)

Returns the number of points found in the CSV file.

Public function Const

int32

 

GetNumberOfPoints()

Public function Const

int32

 

GetNumberOfRows()

Member variables accessors.

Public function

void

 

GetNumberOfRows

(
    FVectorVMContext& Context
)

Returns the number of rows found in the CSV file.

Public function

void

 

GetPointIDsToSpawnAtTime

(
    FVectorVMContext& Context
)

Returns the indexes (min, max) and number of points that should be spawned at time t.

Public function

void

 

GetPointLife

(
    FVectorVMContext& Context
)

Return the life value for a given point.

Public function

void

 

GetPointPositionAtTime

(
    FVectorVMContext& Context
)

Returns the position for a given point at a given time.

Public function

void

 

GetPointType

(
    FVectorVMContext& Context
)

Return the type value for a given point.

Public function

void

 

GetPointValueAtTime

(
    FVectorVMContext& Context
)

Returns a float value for a given point at a given time.

Public function

void

 

GetPointVectorValueAtTime

(
    FVectorVMContext& Context
)

Returns a Vector value for a given point at a given time.

Public function

void

 

GetPointVectorValueAtTimeEx

(
    FVectorVMContext& Context
)

Returns a Vector value for a given point at a given time.

Public function

void

 

GetPosition

(
    FVectorVMContext& Context
)

Returns the positions for a given row in the CSV file.

Public function

void

 

GetPositionAndTime

(
    FVectorVMContext& Context
)

Returns the position and time for a given row in the CSV file.

Public function

void

 

GetRowIndexesForPointAtTime

(
    FVectorVMContext& Context
)

Returns the line indexes (previous, next) for reading values for a given point at a given time.

Public function

void

 

GetTime

(
    FVectorVMContext& Context
)

Returns the time for a given row in the CSV file.

Public function

void

 

GetVectorValue

(
    FVectorVMContext& Context
)

Returns a Vector3 value for a given row in the CSV file.

Public function

void

 

GetVectorValueEx

(
    FVectorVMContext& Context
)

Returns a Vector3 value for a given row in the CSV file.

Public function

void

 

GetVelocity

(
    FVectorVMContext& Context
)

Returns the velocity for a given row in the CSV file.

Protected function

void

 

PushToRenderThread()

GPU Buffers accessors.

Overridden from UNiagaraDataInterface

Name Description

Public function Virtual Const

bool

 

CanExecuteOnTarget

(
    ENiagaraSimTarget Target
)

Protected function Virtual Const

bool

 

CopyToInternal

(
    UNiagaraDataInterface* Destina...
)

Public function Virtual Const

bool

 

Equals

(
    const UNiagaraDataInterface* O...
)

Determines if this DataInterface is the same as another.

Public function Virtual

bool

 

GetFunctionHLSL

(
    const FNiagaraDataInterfaceGPUParam...,
    const FNiagaraDataInterfaceGenerate...,
    int FunctionInstanceIndex,
    FString& OutHLSL
)

Public function Virtual

void

 

GetFunctions

Returns the DI's functions signatures.

Public function Virtual

void

 

GetParameterDefinitionHLSL

(
    const FNiagaraDataInterfaceGPUParam...,
    FString& OutHLSL
)

GPU / HLSL Functions.

Public function Virtual

void

 

GetVMExternalFunction

(
    const FVMExternalFunctionBindingInf...,
    void* InstanceData,
    FVMExternalFunction& OutFunc
)

Returns the delegate for the passed function signature.

Overridden from UNiagaraDataInterfaceBase

Name Description

Public function Virtual

void

 

BindParameters

(
    FNiagaraDataInterfaceParametersCS&...,
    const FNiagaraDataInterfaceGPUParam...,
    const FShaderParameterMap& Paramet...
)

Methods that operate on an instance of type FNiagaraDataInterfaceParametersCS*, created by the above CreateComputeParameters() method

Public function Virtual Const

FNiagaraData...

 

CreateComputeParameters()

Constructs the correct CS parameter type for this DI (if any).

Public function Virtual Const

const FTypeL...

 

GetComputeParametersTypeDesc()

Public function Virtual Const

void

 

SetParameters

(
    const FNiagaraDataInterfaceParamete...,
    FRHICommandList& RHICmdList,
    const FNiagaraDataInterfaceSetArgs ...
)

Public function Virtual Const

void

 

UnsetParameters

(
    const FNiagaraDataInterfaceParamete...,
    FRHICommandList& RHICmdList,
    const FNiagaraDataInterfaceSetArgs ...
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Constants

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