Skip to content

Color.ToVector4() Method

Definition

Namespace: Brine2D.Core

Converts to a Vector4 with normalized values \(0\.0\-1\.0\). Useful for shader uniforms and GPU rendering.

C#
public System.Numerics.Vector4 ToVector4();

Returns

System.Numerics.Vector4