Vector3Extensions.SetUniformly

Extension Method in Vector3Extensions

Declaration

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

Description

Sets all components of the vector to the given value.

Parameters

vectorThe vector to set.
valueThe uniform component value.

Returns

Vector3A new vector with the uniform component value.