IVSmoke 1.0
Loading...
Searching...
No Matches
FIVSmokeHoleGPU Struct Reference

Built from FIVSmokeHoleData + UIVSmokeHolePreset at render time. More...

#include <IVSmokeHoleShaders.h>

Collaboration diagram for FIVSmokeHoleGPU:
Collaboration graph

Public Member Functions

 FIVSmokeHoleGPU (const FIVSmokeHoleData &DynamicHoleData, const UIVSmokeHolePreset &Preset, const float CurrentServerTime)
 

Public Attributes

FVector3f Position
 
float CurLifeTime
 
int HoleType
 
float Radius
 
float Duration
 
float Softness
 
FVector3f Extent
 
float DynamicPadding
 
float ExpansionDuration
 
float CurExpansionFadeRangeOverTime
 
float CurShrinkFadeRangeOverTime
 
float DistortionExpOverTime
 
float DistortionDistance
 
FVector3f PresetExplosionPadding
 
FVector3f EndPosition
 
float EndRadius
 

Detailed Description

Built from FIVSmokeHoleData + UIVSmokeHolePreset at render time.

Definition at line 19 of file IVSmokeHoleShaders.h.

Constructor & Destructor Documentation

◆ FIVSmokeHoleGPU()

FIVSmokeHoleGPU::FIVSmokeHoleGPU ( const FIVSmokeHoleData DynamicHoleData,
const UIVSmokeHolePreset Preset,
const float  CurrentServerTime 
)

You can Constructs a FIVSmokeHoleGPU using DynamicHoleData, Preset, and server time.

Parameters
DynamicHoleDataDynamic hole data.
PresetHolePreset defined as DataAsset.
CurrentServerTimeThe CurrentServerTime is obtained through the GetSyncedTime function.

Definition at line 85 of file IVSmokeHoleData.cpp.

Member Data Documentation

◆ CurExpansionFadeRangeOverTime

float FIVSmokeHoleGPU::CurExpansionFadeRangeOverTime

Current fadeRange extracted from ExpansionFadeRangeCurveOverTime with values normalized to expansion time.

Definition at line 67 of file IVSmokeHoleShaders.h.

◆ CurLifeTime

float FIVSmokeHoleGPU::CurLifeTime

Time after hole is called creation.

Definition at line 38 of file IVSmokeHoleShaders.h.

◆ CurShrinkFadeRangeOverTime

float FIVSmokeHoleGPU::CurShrinkFadeRangeOverTime

Current fadeRange extracted from ShrinkFadeRangeCurveOverTime with values normalized to shrink time.

Definition at line 70 of file IVSmokeHoleShaders.h.

◆ DistortionDistance

float FIVSmokeHoleGPU::DistortionDistance

Distortion degree max value.

Definition at line 76 of file IVSmokeHoleShaders.h.

◆ DistortionExpOverTime

float FIVSmokeHoleGPU::DistortionExpOverTime

Exponential value of the calculation of the distortion value over expansion time.

Definition at line 73 of file IVSmokeHoleShaders.h.

◆ Duration

float FIVSmokeHoleGPU::Duration

Total duration.

Definition at line 47 of file IVSmokeHoleShaders.h.

◆ DynamicPadding

float FIVSmokeHoleGPU::DynamicPadding

Definition at line 58 of file IVSmokeHoleShaders.h.

◆ EndPosition

FVector3f FIVSmokeHoleGPU::EndPosition

The point at which the trajectory of the penetration ends.

Definition at line 84 of file IVSmokeHoleShaders.h.

◆ EndRadius

float FIVSmokeHoleGPU::EndRadius

Radius at the end position.

Definition at line 87 of file IVSmokeHoleShaders.h.

◆ ExpansionDuration

float FIVSmokeHoleGPU::ExpansionDuration

Expansion time used only for Explosion.

Definition at line 64 of file IVSmokeHoleShaders.h.

◆ Extent

FVector3f FIVSmokeHoleGPU::Extent

the size of a hole.

Definition at line 56 of file IVSmokeHoleShaders.h.

◆ HoleType

int FIVSmokeHoleGPU::HoleType

0 = Penetration, 1 = Explosion, 2 = Dynamic

Definition at line 41 of file IVSmokeHoleShaders.h.

◆ Position

FVector3f FIVSmokeHoleGPU::Position

The central point of hole creation.

Definition at line 35 of file IVSmokeHoleShaders.h.

◆ PresetExplosionPadding

FVector3f FIVSmokeHoleGPU::PresetExplosionPadding

Definition at line 78 of file IVSmokeHoleShaders.h.

◆ Radius

float FIVSmokeHoleGPU::Radius

Radius value used to calculate values related to the range.

Definition at line 44 of file IVSmokeHoleShaders.h.

◆ Softness

float FIVSmokeHoleGPU::Softness

Edge smooth range.

Definition at line 50 of file IVSmokeHoleShaders.h.


The documentation for this struct was generated from the following files: