Navigation
API > API/Plugins > API/Plugins/NiagaraVertexFactories
Beam/Trail particle vertex factory.
| Name | FNiagaraRibbonVertexFactory |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraVertexFactories/Public/NiagaraRibbonVertexFactory.h |
| Include Path | #include "NiagaraRibbonVertexFactory.h" |
Syntax
class FNiagaraRibbonVertexFactory : public FNiagaraVertexFactoryBase
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FNiagaraVertexFactoryBase → FNiagaraRibbonVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| NiagaraRibbonVertexFactory.h | |||
FNiagaraRibbonVertexFactory
(
ENiagaraVertexFactoryType InType, |
Default constructor. | NiagaraRibbonVertexFactory.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LooseParameterUniformBuffer | FUniformBufferRHIRef | NiagaraRibbonVertexFactory.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataSet | const FNiagaraDataSet * | NiagaraRibbonVertexFactory.h | ||
| NiagaraRibbonUniformBuffer | FNiagaraRibbonUniformBufferRef | Uniform buffer with beam/trail parameters. | NiagaraRibbonVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraRibbonUniformBufferRef GetRibbonUniformBuffer() |
Retrieve the uniform buffer for this vertex factory. | NiagaraRibbonVertexFactory.h | |
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Initialize the Render Hardware Interface for this vertex factory | NiagaraRibbonVertexFactory.h | |
void SetDynamicParameterBuffer
(
const FVertexBuffer* InDynamicParameterBuffer, |
Set the source vertex buffer that contains particle dynamic parameter data. | NiagaraRibbonVertexFactory.h | |
void SetRibbonUniformBuffer
(
FNiagaraRibbonUniformBufferRef InSpriteUniformBuffer |
Set the uniform buffer for this vertex factory. | NiagaraRibbonVertexFactory.h | |
void SetVertexBuffer
(
const FVertexBuffer* InBuffer, |
Set the source vertex buffer. | NiagaraRibbonVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | NiagaraRibbonVertexFactory.h | |
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs. | NiagaraRibbonVertexFactory.h | |
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? | NiagaraRibbonVertexFactory.h |