Ir para o conteúdo principal
Version: latest - a1.156.0 ⚖️

🖼️ PostProcess

Interaction with Post Process effects.

🗿Static ClassClient Only🧑‍💻API Source

🗿 Static Functions​

ReturnsNameDescription
RemoveMaterialRemoves the current Post Process Material
SetBloomSet Post Process Bloom Settings
SetChromaticAberrationSet Post Process Chromatic Aberration Settings
SetExposureSet Post Process Exposure Settings
SetFilmSet Post Process Film Settings
SetGlobalContrastSet Post Process Global Contrast
SetGlobalGainSet Post Process Global Gain
SetGlobalGammaSet Post Process Global Gamma
SetGlobalOffsetSet Post Process Global Offset
SetGlobalSaturationSet Post Process Saturation Colors. Use Alpha for overall Saturation intensity
SetImageEffectsSet Post Process Image Effect Settings
SetLookupTableSet Post Process Lookup Table (LUT) Texture
SetMaterialSets a Post Process Material

Optimal

RemoveMaterial​

Removes the current Post Process Material
PostProcess.RemoveMaterial()

Optimal

SetBloom​

Set Post Process Bloom Settings
PostProcess.SetBloom(intensity?, threshold?)

Parameters

TypeParameterDefaultDescription
floatintensity?0.675
Bloom intensity
floatthreshold?-1
Minimum brightness for a pixel to bloom

Optimal

SetChromaticAberration​

Set Post Process Chromatic Aberration Settings
PostProcess.SetChromaticAberration(intensity?, start_offset?)

Parameters

TypeParameterDefaultDescription
floatintensity?0
Chromatic aberration intensity
floatstart_offset?0
Distance from the screen center where it starts (0 to 1)

Optimal

SetExposure​

Set Post Process Exposure Settings
PostProcess.SetExposure(exposure_compensation?, min_ev100?, max_ev100?, low_percent?, high_percent?)

Parameters

TypeParameterDefaultDescription
floatexposure_compensation?1
Exposure bias, in EV
floatmin_ev100?-10
Min auto exposure brightness, in EV100
floatmax_ev100?20
Max auto exposure brightness, in EV100
floatlow_percent?10
Histogram low percentage used by auto exposure
floathigh_percent?90
Histogram high percentage used by auto exposure

Optimal

SetFilm​

Set Post Process Film Settings
PostProcess.SetFilm(slope?, toe?, shoulder?, black_clip?, white_clip?)

Parameters

TypeParameterDefaultDescription
floatslope?0.8
Steepness of the tonemapper S-curve
floattoe?0.55
Adjusts the dark tones
floatshoulder?0.26
Adjusts the bright tones
floatblack_clip?0
Where the dark tones clip
floatwhite_clip?0.3
Where the bright tones clip

Optimal

SetGlobalContrast​

Set Post Process Global Contrast
PostProcess.SetGlobalContrast(contrast)

Parameters

TypeParameterDefaultDescription
Colorcontrast Required parameter The new Post Process Global Contrast

Optimal

SetGlobalGain​

Set Post Process Global Gain
PostProcess.SetGlobalGain(gain)

Parameters

TypeParameterDefaultDescription
Colorgain Required parameter The new Post Process Global Gain

Optimal

SetGlobalGamma​

Set Post Process Global Gamma
PostProcess.SetGlobalGamma(gamma)

Parameters

TypeParameterDefaultDescription
Colorgamma Required parameter The new Post Process Global Gamma

Optimal

SetGlobalOffset​

Set Post Process Global Offset
PostProcess.SetGlobalOffset(offset)

Parameters

TypeParameterDefaultDescription
Coloroffset Required parameter The new Post Process Global Offset

Optimal

SetGlobalSaturation​

Set Post Process Saturation Colors. Use Alpha for overall Saturation intensity
PostProcess.SetGlobalSaturation(color)

Parameters

TypeParameterDefaultDescription
Colorcolor Required parameter The new Post Process Saturation Colors. Use Alpha for overall Saturation intensity

Optimal

SetImageEffects​

Set Post Process Image Effect Settings
PostProcess.SetImageEffects(vignette_intensity?, film_grain_intensity?)

Parameters

TypeParameterDefaultDescription
floatvignette_intensity?0.6
Darkening of the screen edges
floatfilm_grain_intensity?0
Amount of film grain noise

Slow

SetLookupTable​

Set Post Process Lookup Table (LUT) Texture
PostProcess.SetLookupTable(texture_path)

Parameters

TypeParameterDefaultDescription
Image Pathtexture_path Required parameter The new Post Process Lookup Table (LUT) Texture

Slow

SetMaterial​

Sets a Post Process Material
PostProcess.SetMaterial(material_path)

Parameters

TypeParameterDefaultDescription
Material Referencematerial_path Required parameter The Material Asset to set as Post Process

🚀 Events​

This class doesn't have own events.