Garry's Mod Wiki

VMatrix:GetUp

  Vector VMatrix:GetUp()

Description

Gets the up direction of the matrix.

ie. The third column of the matrix, excluding the w coordinate.

Returns

1 Vector
The up direction of the matrix.