How to change Decal's rotation at runtime relative to the floor or wall? C++

Does this function exist?