Background for Skyrim SE
Member of the PO3_SKSEFunctions script
voidfunctionBlendColorWithSkinTone(ActorakActor, ColorFormakColor, intaiBlendMode, boolabAutoLuminance, floatafOpacity)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

Blend Modes
ModeValue
Darken0
Multiply1
ColorBurn2
LinearBurn3
DarkerColor4
Lighten5
Screen6
ColorDodge7
LinearDodge8
LighterColor9
Overlay10
SoftLight11
HardLight12
VividLight13
LinearLight14
PinLight15
HardMix16
Difference17
Exclusion18
Subtract19
Divide20
  • 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

  1. ActorakActor

  2. ColorFormakColor

  3. intaiBlendMode

  4. boolabAutoLuminance

  5. floatafOpacity


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

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.