UParticleModuleSubUV::DetermineImageIndex

Determine the current image index to use...

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UParticleModuleSubUV::DetermineImageIndex()

UParticleModuleSubUVMovie::DetermineImageIndex()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/SubUV/ParticleModuleSubUV.h

Include

#include "Particles/SubUV/ParticleModuleSubUV.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleModules.cpp

Syntax

virtual float DetermineImageIndex
(
    FParticleEmitterInstance * Owner,
    int32 Offset,
    FBaseParticle * Particle,
    EParticleSubUVInterpMethod InterpMethod,
    FFullSubUVPayload & SubUVPayload,
    float DeltaTime
)

Remarks

Determine the current image index to use...

Returns

float The image index with interpolation amount as the fractional portion.

Parameters

Parameter

Description

Owner

The emitter instance being updated.

Offset

The offset to the particle payload for this module.

Particle

The particle that the image index is being determined for.

InterpMethod

The EParticleSubUVInterpMethod method used to update the subUV.

SubUVPayload

The FFullSubUVPayload for this particle.