How to: Change orientation of Model/Navigation Cube

You can customize the orientation by specifying a front and an up vector for the model using HPS::Model::SetOrientation. The navigation cube orients along the model orientation.

When just opening the model in sandbox:

When setting the orientation as below:

HPS::Vector up(0, 0, 1);
HPS::Vector front(1, 0, 0);
GetCanvas().GetFrontView().GetAttachedModel().SetOrientation(up, front);