Constructor Vector3
Vector3(Single, Single, Single)
Initializes a new instance of the Vector3 class.
Declaration
public Vector3(float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x | Initial value for the X component of the vector. |
System.Single | y | Initial value for the Y component of the vector. |
System.Single | z | Initial value for the Z component of the vector. |