Vector3.CreateScalar(Single) Method 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a vector with X initialized to the specified value and the remaining elements initialized to zero.
public:
 static System::Numerics::Vector3 CreateScalar(float x);public static System.Numerics.Vector3 CreateScalar(float x);static member CreateScalar : single -> System.Numerics.Vector3Public Shared Function CreateScalar (x As Single) As Vector3Parameters
Returns
A new Vector3 with X initialized x and the remaining elements initialized to zero.