- Found in:
- PO3's PE
voidfunctionBlendColorWithSkinTone(ActorakActor, ColorFormakColor, intaiBlendMode, boolabAutoLuminance, floatafOpacity)NativeGlobal
Description
GitHub Wiki Description (PO3's PE)
Blend Modes
| Mode | Value |
|---|---|
| Darken | 0 |
| Multiply | 1 |
| ColorBurn | 2 |
| LinearBurn | 3 |
| DarkerColor | 4 |
| Lighten | 5 |
| Screen | 6 |
| ColorDodge | 7 |
| LinearDodge | 8 |
| LighterColor | 9 |
| Overlay | 10 |
| SoftLight | 11 |
| HardLight | 12 |
| VividLight | 13 |
| LinearLight | 14 |
| PinLight | 15 |
| HardMix | 16 |
| Difference | 17 |
| Exclusion | 18 |
| Subtract | 19 |
| Divide | 20 |
- Blends existing skin color with specified color, using photoshop blend formulas, with alpha (opacity).
- If true, autoLuminance calculates skin tone relative luminance. The opacity value is then used as a multiplier on top of that, final value is clamped to 0-1
- If false, only opacity will be used. Recommend to use autoluminance because colors will not blend well for all skin tones using flat values.
Parameters
Examples
Auto-Generated Example
Actor myActor__akActor
ColorForm myColorForm__akColor
int myInt__aiBlendMode
bool myBool__abAutoLuminance
float myFloat__afOpacity
PO3_SKSEFunctions.BlendColorWithSkinTone(myActor__akActor, myColorForm__akColor, myInt__aiBlendMode, myBool__abAutoLuminance, myFloat__afOpacity)Additional References
View this function on the GitHub Wiki for powerofthree's Papyrus Extender
