The Viewport class provides access to various properties in the 3D scene.
NOTE: You cannot instantiate an instance of this class, instead you can access
the Viewport class through the viewport3D property in the Microsoft.Photosynth.Viewer class.
|
Name
|
Type
|
Description
|
|
aspectRatio
|
Number
|
The aspect ratio of the viewport
|
|
camera
|
Microsoft.Photosynth.JsInterop.Camera
|
Get the camera that is used to visualize the 3D scene.
|
|
enableRenderingEvent
|
Boolean
|
If set to true the rendering event will be fired. This is defaulted to false.
|
|
height
|
Number
|
The height of the 3D viewport in pixels.
|
|
width
|
Number
|
The width of the 3D viewport in pixels.
|