Vector4Extensions.SetUniformly

Extension Method in Vector4Extensions

Declaration

public static Vector4 SetUniformly(this Vector4 vector, float value)

Description

Sets all components of the vector to the given value.

Parameters

vectorThe vector to set.
valueThe uniform component value.

Returns

Vector4A new vector with the uniform component value.