NFrame.NFVector3.Direction C# (CSharp) Method

Direction() public method

public Direction ( ) : NFVector3
return NFVector3
        public NFVector3 Direction()
        {
            if (this.IsZero())
            {
                return new NFVector3();
            }
            float length =  this.Length();
            return new NFVector3(x /length, y /length, z/length);
        }