Yep like @Motofied said.
To add on to get the direction pointing down the slope you can use cross product of the normal vector with the downvector.