PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PPEDistort Class Reference

Distort - PostProcessEffectType.Distort. More...

Private Member Functions

override int GetPostProcessEffectID ()
 
override string GetDefaultMaterialPath ()
 
override void RegisterMaterialParameters ()
 

Static Private Attributes

static const int PARAM_DISTORT = 0
 
static const int PARAM_CENTERX = 1
 Lens distortion magnitude, x > 0 = barrel distortion, x < 0 = pincushion distortion.
 
static const int PARAM_CENTERY = 2
 Lens center X direction (-1 = left, 0 = center, 1 = right)
 
static const int PARAM_CHROM_ABB = 3
 Lens center Y direction (-1 = top, 0 = center, 1 = bottom)
 
static const int PARAM_CHROM_ABB_SHIFTR = 4
 Maximum value of chromatic abberation, 0 = disable - note that chrom. aberr depends on amount of distortion.
 
static const int PARAM_CHROM_ABB_SHIFTG = 5
 Chromatic abberation red channel shift magnitude. 0 = none.
 
static const int PARAM_CHROM_ABB_SHIFTB = 6
 Chromatic abberation green channel shift magnitude. 0 = none, 1 = default.
 
static const int PARAM_CHROM_COLOR_MOD = 7
 Chromatic abberation blue channel shift magnitude. 0 = none, 2 = default.
 
static const int PARAM_DISTORT_WEIGHT = 8
 Color modulation effect. (red, green, blue, scale) (0,0,0,0) = default.
 
static const int L_0_HMP = 100
 Distortion applied to imagine. 1 = all, 0 = none, applied only to ChromAbber.
 
static const int L_1_HMP = 100
 
static const int L_2_HMP = 100
 
static const int L_3_HMP = 100
 
static const int L_4_HMP = 100
 
static const int L_5_HMP = 100
 
static const int L_6_HMP = 100
 
static const int L_7_HMP = 100
 

Detailed Description

Distort - PostProcessEffectType.Distort.

Member Function Documentation

◆ GetDefaultMaterialPath()

override string GetDefaultMaterialPath ( )
inlineprivate

◆ GetPostProcessEffectID()

override int GetPostProcessEffectID ( )
inlineprivate

◆ RegisterMaterialParameters()

Field Documentation

◆ L_0_HMP

const int L_0_HMP = 100
staticprivate

Distortion applied to imagine. 1 = all, 0 = none, applied only to ChromAbber.

Referenced by PPERequester_GameplayBase::SetEffectProgress().

◆ L_1_HMP

const int L_1_HMP = 100
staticprivate

◆ L_2_HMP

const int L_2_HMP = 100
staticprivate

◆ L_3_HMP

const int L_3_HMP = 100
staticprivate

◆ L_4_HMP

const int L_4_HMP = 100
staticprivate

◆ L_5_HMP

const int L_5_HMP = 100
staticprivate

◆ L_6_HMP

const int L_6_HMP = 100
staticprivate

◆ L_7_HMP

const int L_7_HMP = 100
staticprivate

◆ PARAM_CENTERX

const int PARAM_CENTERX = 1
staticprivate

Lens distortion magnitude, x > 0 = barrel distortion, x < 0 = pincushion distortion.

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_CENTERY

const int PARAM_CENTERY = 2
staticprivate

Lens center X direction (-1 = left, 0 = center, 1 = right)

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_CHROM_ABB

const int PARAM_CHROM_ABB = 3
staticprivate

Lens center Y direction (-1 = top, 0 = center, 1 = bottom)

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_CHROM_ABB_SHIFTB

const int PARAM_CHROM_ABB_SHIFTB = 6
staticprivate

Chromatic abberation green channel shift magnitude. 0 = none, 1 = default.

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_CHROM_ABB_SHIFTG

const int PARAM_CHROM_ABB_SHIFTG = 5
staticprivate

Chromatic abberation red channel shift magnitude. 0 = none.

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_CHROM_ABB_SHIFTR

const int PARAM_CHROM_ABB_SHIFTR = 4
staticprivate

Maximum value of chromatic abberation, 0 = disable - note that chrom. aberr depends on amount of distortion.

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_CHROM_COLOR_MOD

const int PARAM_CHROM_COLOR_MOD = 7
staticprivate

Chromatic abberation blue channel shift magnitude. 0 = none, 2 = default.

Referenced by RegisterMaterialParameters(), and PPERequester_GameplayBase::SetEffectProgress().

◆ PARAM_DISTORT

const int PARAM_DISTORT = 0
staticprivate

◆ PARAM_DISTORT_WEIGHT

const int PARAM_DISTORT_WEIGHT = 8
staticprivate

Color modulation effect. (red, green, blue, scale) (0,0,0,0) = default.

Referenced by RegisterMaterialParameters().


The documentation for this class was generated from the following file: