C# Class Nez.BloomSettings

Class holds all the settings used to tweak the bloom effect.
Mostra file Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
baseIntensity float
baseSaturation float
blurAmount float
intensity float
presetSettings Nez.BloomSettings[]
saturation float
threshold float

Public Methods

Method Description
BloomSettings ( float bloomThreshold, float blurAmount, float bloomIntensity, float baseIntensity, float bloomSaturation, float baseSaturation )

Constructs a new bloom settings descriptor.

Method Details

BloomSettings() public method

Constructs a new bloom settings descriptor.
public BloomSettings ( float bloomThreshold, float blurAmount, float bloomIntensity, float baseIntensity, float bloomSaturation, float baseSaturation )
bloomThreshold float
blurAmount float
bloomIntensity float
baseIntensity float
bloomSaturation float
baseSaturation float

Property Details

baseIntensity public_oe property

public float baseIntensity
return float

baseSaturation public_oe property

public float baseSaturation
return float

blurAmount public_oe property

public float blurAmount
return float

intensity public_oe property

public float intensity
return float

presetSettings public_oe static_oe property

Table of preset bloom settings. Note that BaseSat needs to be near 0 if the final render needs transparency!
public static BloomSettings[],Nez presetSettings
return Nez.BloomSettings[]

saturation public_oe property

public float saturation
return float

threshold public_oe property

public float threshold
return float