walkinside / sdk

Develop powerful desktop and web applications on top of Walkinside 3D engine
4 stars 4 forks source link

Deprecated methods, Need for documentation #70

Open AgLaApps opened 3 years ago

AgLaApps commented 3 years ago

Hello,

I have updated Walkinside to version 10.3.4.9 and now there are some methods that are no longer available. I imagine they have been deprecated.

However I am not able to find documentation. Where can I find methods to replace them? Is there any API where the updated available methods are shown? Something similar to this API Reference of COMOS Walkinside Viewer SDK version 10.2 but for the current one. It would be of great help to me.

The methods I have problems with are 2:

1. Place the avatar in the initial position (Home)
2. Change the selection of a branch to change from one selection to another.

In case 1. I used the following code, where the error appears when I use .Home(), since the method is no longer found:

Statement =>    private IVRViewpointManager pview = null;   
Use =>      pview.Home();

In case 2. I used the following code, where the error appears with the SelectionChanged method. These are some examples of when I use it:

SDKViewer.ProjectManager.CurrentProject.BranchManager.SelectionChanged -= misionTarea1;
SDKViewer.ProjectManager.CurrentProject.BranchManager.SelectionChanged += misionTarea2;

Thanks in advance,