Copy link to clipboard
Copied
I am trying to write a javascript button to create a few Views on my 3D PDF.
I can't seem to seem to access the projectionType or the FOV properties.
The following doesnt seem to work:
getAnnots3D(0)[0].context3D.scene.projectionType ="perspective";
getAnnots3D(0)[0].context3D.scene.fov ="10";
I am able to access the renderMode using similar logic.
I also have no idea how I would actually create a View once I manage to set my Camara properties.
Does anyone know what I am doing wrong and could help figure it out?
Best,
Jose
Have something to add?