Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/SubUV
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleSubUVBase
- UParticleModuleSubUV
- UParticleModuleSubUVMovie
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/SubUV/ParticleModuleSubUV.h |
| Include | #include "Particles/SubUV/ParticleModuleSubUV.h" |
Syntax
class UParticleModuleSubUV : public UParticleModuleSubUVBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< USubUVAnimation > | Animation | SubUV animation asset to use. | |
| uint8: 1 | bUseRealTime | If true, use real time when updating the image index. | |
| FRawDistributionFloat | SubImageIndex | The index of the sub-image that should be used for the particle. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleSubUV
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | DetermineImageIndex
(
FParticleEmitterInstance* Owner, |
Determine the current image index to use... | |
| void | Initializes the default values for this property |
Overridden from UParticleModule
| Type | Name | Description | |
|---|---|---|---|
| void | CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. | |
| bool | IsValidForLODLevel
(
UParticleLODLevel* LODLevel, |
Returns true if the module is valid for the provided LOD level. | |
| void | SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. | |
| void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. | |
| void | Update
(
FParticleEmitterInstance* Owner, |
Called on a particle that is being updated by its emitter. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Called during async load to determine if PostLoad can be called on the loading thread. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |