The Transform3D class has a SetRotation() member that could probably be used here.