AnsweredAssumed Answered

How to get view matrix using .net/c# api ?

Question asked by Sarab Jot on Jul 22, 2019

I want to get view matrix but

 View3D^ capture = swModelDocExt->Capture3DView();
capture->Activate(true);
MathTransform^ rot = capture->Rotation;

rot is giving z value as 0 due to which my model is coming in 2D.

 

Kindly suggest what's wrong and is there any other way to get view matrix?

Outcomes