Table of Contents

Method WithZ

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

WithZ(Vector3, float)

Returns a copy of this vector with the given z-coordinate.

[Version(2, 0, 0)]
public static Vector3 WithZ(this Vector3 vector, float z)

Parameters

vector Vector3
z float

Returns

Vector3