How to show VR in View2/3 by code?

How can I switch on/off volume rendering in secondary views by code?


You can get the volume rendering display node by calling GetFirstVolumeRenderingDisplayNode then call its AddViewNodeID method for each view that you want your volume to be displayed in.

Thanks and happy New year.

1 Like