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

🖼️ PostProcess

Interaction with Post Process effects

🗿Static ClassClient Only🧑‍💻API Source

🗿 Static Functions​

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

RemoveMaterialOptimal​

Removes the current Post Process Material

PostProcess.RemoveMaterial()

SetBloomOptimal​

Set Post Process Bloom Settings

PostProcess.SetBloom(intensity?, threshold?)
Parameters
NameTypeDescrição
intensity?floatBloom intensity Default 0.675
threshold?floatMinimum brightness for a pixel to bloom Default -1

SetChromaticAberrationOptimal​

Set Post Process Chromatic Aberration Settings

PostProcess.SetChromaticAberration(intensity?, start_offset?)
Parameters
NameTypeDescrição
intensity?floatChromatic aberration intensity Default 0
start_offset?floatDistance from the screen center where it starts (0 to 1) Default 0

SetExposureOptimal​

Set Post Process Exposure Settings

PostProcess.SetExposure(exposure_compensation?, min_ev100?, max_ev100?, low_percent?, high_percent?)
Parameters
NameTypeDescrição
exposure_compensation?floatExposure bias, in EV Default 1
min_ev100?floatMin auto exposure brightness, in EV100 Default -10
max_ev100?floatMax auto exposure brightness, in EV100 Default 20
low_percent?floatHistogram low percentage used by auto exposure Default 10
high_percent?floatHistogram high percentage used by auto exposure Default 90

SetFilmOptimal​

Set Post Process Film Settings

PostProcess.SetFilm(slope?, toe?, shoulder?, black_clip?, white_clip?)
Parameters
NameTypeDescrição
slope?floatSteepness of the tonemapper S-curve Default 0.8
toe?floatAdjusts the dark tones Default 0.55
shoulder?floatAdjusts the bright tones Default 0.26
black_clip?floatWhere the dark tones clip Default 0
white_clip?floatWhere the bright tones clip Default 0.3

SetGlobalContrastOptimal​

Set Post Process Global Contrast

PostProcess.SetGlobalContrast(contrast)
Parameters
NameTypeDescrição
contrastColorThe new Post Process Global Contrast

SetGlobalGainOptimal​

Set Post Process Global Gain

PostProcess.SetGlobalGain(gain)
Parameters
NameTypeDescrição
gainColorThe new Post Process Global Gain

SetGlobalGammaOptimal​

Set Post Process Global Gamma

PostProcess.SetGlobalGamma(gamma)
Parameters
NameTypeDescrição
gammaColorThe new Post Process Global Gamma

SetGlobalOffsetOptimal​

Set Post Process Global Offset

PostProcess.SetGlobalOffset(offset)
Parameters
NameTypeDescrição
offsetColorThe new Post Process Global Offset

SetGlobalSaturationOptimal​

Set Post Process Saturation Colors. Use Alpha for overall Saturation intensity

PostProcess.SetGlobalSaturation(color)
Parameters
NameTypeDescrição
colorColorThe new Post Process Saturation Colors. Use Alpha for overall Saturation intensity

SetImageEffectsOptimal​

Set Post Process Image Effect Settings

PostProcess.SetImageEffects(vignette_intensity?, film_grain_intensity?)
Parameters
NameTypeDescrição
vignette_intensity?floatDarkening of the screen edges Default 0.6
film_grain_intensity?floatAmount of film grain noise Default 0

SetLookupTableSlow​

Set Post Process Lookup Table (LUT) Texture

PostProcess.SetLookupTable(texture_path)
Parameters
NameTypeDescrição
texture_pathImage PathThe new Post Process Lookup Table (LUT) Texture

SetMaterialSlow​

Sets a Post Process Material

PostProcess.SetMaterial(material_path)
Parameters
NameTypeDescrição
material_pathMaterial ReferenceThe Material Asset to set as Post Process

🚀 Events​

This class doesn't have own events.