ColorExt.ColorAlpha Method

Creates a color based on an already existing color and an alpha value.

Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Color ColorAlpha(
	 in Color color,
	float alpha
)

Parameters

 

color
Type: Color
Color value
alpha
Type: System.Single
Alpha value

Return Value

Type: Color
Result of combining the RGB of the color value and alpha of alpha

See Also

Reference

ColorExt Class
UltimateXR.Extensions.Unity.Render Namespace