50 results for "color"
A curve asset with four channels (R, G, B, A) that returns an FLinearColor when evaluated.
Adds two linear colors channel-by-channel (R+R, G+G, B+B, A+A).
Decomposes an FLinearColor into its individual R, G, B, and A float components.
Converts an FColor (sRGB, 0–255 per channel) to an FLinearColor (linear, 0.
Converts a double scalar into a FLinearColor by assigning the same value to R, G, and B channels with alpha fixed at 1.
Converts a FLinearColor to an 8-bit FColor, optionally applying sRGB gamma encoding.
Converts a FLinearColor to a FVector by mapping R→X, G→Y, B→Z and discarding the alpha channel.
Converts a 3D vector to an FLinearColor by mapping X to R, Y to G, Z to B, and setting Alpha to 1.
Divides color A by color B channel-by-channel (A.
Returns true if A and B are exactly equal (A == B) on all four channels.
Linearly interpolates between two linear colors channel-by-channel.
Interpolates between two linear RGB colors by converting to HSV, taking the shortest hue path, interpolating, then converting back to RGB.
Returns the linear-space black color (0, 0, 0, 1).
Returns the linear-space blue color (0, 0, 1, 1).
Returns a copy of the color linearly interpolated toward its luminance-equivalent grey by the given desaturation factor.
Computes the Euclidean distance between two linear colors treated as 4D vectors (R, G, B, A).
Returns the perceptual luminance of a linear color using standard human-eye channel weights (green contributes most, blue least).
Returns the largest channel value among R, G, B, and A in the given linear color.
Returns the smallest channel value among R, G, B, and A in the given linear color.
Returns the linear-space gray color (0.
Returns the linear-space green color (0, 1, 0, 1).
Returns true if every channel of A and B differ by no more than Tolerance.
Quantizes a FLinearColor to an 8-bit FColor by truncating each channel (floor), bypassing sRGB gamma conversion.
Quantizes a FLinearColor to an 8-bit FColor by rounding each channel to the nearest integer (rather than truncating), bypassing sRGB gamma conversion.
Returns the linear-space red color (1, 0, 0, 1).
Overwrites a LinearColor variable with the contents of another.
Converts an HSV color specified by hue (degrees), saturation, and value into linear-space RGB and writes the result into the target FLinearColor.
Converts an FColor encoded with a simplified gamma-2.
Converts an 8-bit sRGB FColor into linear-space FLinearColor using the proper sRGB transfer function.
Sets a LinearColor variable's individual R, G, B, and A channels from separate float values.
Chooses a random hue and writes a visually pleasing fully-saturated color into the target LinearColor.
Sets a LinearColor to the RGB chromaticity of a black body radiator at the given temperature in Kelvin, approximating physical light source colors.
Returns a copy of InColor with the alpha channel replaced by InOpacity, leaving R, G, B unchanged.
Encodes a high-dynamic-range FLinearColor into the 8-bit RGBE format described in Gregory Ward's 'Real Pixels' (Graphics Gems II, p.
Returns transparent black (0, 0, 0, 0).
Returns the linear-space white color (1, 1, 1, 1).
Returns the linear-space yellow color (1, 1, 0, 1).
Constructs an FLinearColor from individual R, G, B, and optional A components.
Scales all four channels of a linear color by a single float.
Multiplies two linear colors channel-by-channel.
Returns true if A and B differ on any channel (A != B).
Subtracts color B from color A channel-by-channel (A.
Converts a linear color to an uppercase 8-character hex string in RRGGBBAA format by first quantising to 8-bit per channel.
Interpolates a linear color from Current toward Target each frame using exponential ease-out, producing a fast initial movement that slows as it approaches the target.
Constructs a FLinearColor in linear RGB space from individual hue, saturation, and value components.
Converts a packed HSV FLinearColor (H in R, S in G, V in B) to linear RGB and returns it by value.
Converts a HSV color packed into a FLinearColor (R=H, G=S, B=V) to linear RGB, writing the result into a second FLinearColor.
Converts a linear RGB FLinearColor to a packed HSV FLinearColor by value (H in R, S in G, V in B).
Decomposes a linear RGB FLinearColor into its hue, saturation, value, and alpha components as separate float outputs.
Converts a linear RGB FLinearColor to a packed HSV FLinearColor (H in R, S in G, V in B).