Class VfxEvalFunctions
- Assembly
- ValveResourceFormat.dll
Implementations for built in VFXEval functions
public static class VfxEvalFunctionsInheritance
Inherited Members
Methods
MatrixColorCorrect2(Vector3, Vector3)
Builds a 4x4 color correction matrix that applies contrast, saturation, and brightness adjustments.
public static Matrix4x4 MatrixColorCorrect2(Vector3 CSB, Vector3 colorOffset)Parameters
CSBVector3-
Color correction parameters: X = contrast, Y = saturation, Z = brightness.
colorOffsetVector3-
Pivot point for the brightness gain.
Returns
MatrixColorTint2(Vector3, float)
Builds a luminance-preserving saturation adjustment matrix in RGB space.
public static Matrix4x4 MatrixColorTint2(Vector3 rgb, float strength)Parameters
rgbVector3-
Reference color used to derive hue and saturation.
strengthfloat-
Saturation adjustment strength.