Vector3IntExtensions.SetUniformly

Extension Method in Vector3IntExtensions

Declaration

public static Vector3Int SetUniformly(this Vector3Int vector, int value)

Description

Sets all components of the vector to the given value.

Parameters

vectorThe vector to set.
valueThe uniform component value.

Returns

Vector3IntA new vector with the uniform component value.