@shapediver/viewer.viewport
Version:
This is the npm package for the ShapeDiver Viewer Viewport API. For more information on ShapeDiver, please visit our [homepage](https://shapediver.com/).
14 lines • 647 B
TypeScript
import { ORTHOGRAPHIC_CAMERA_DIRECTION } from "@shapediver/viewer.rendering-engine.camera-engine";
import { type ICameraApi } from "./ICameraApi";
/**
* The api for an orthographic camera.
* An orthographic camera can be created by calling the {@link createOrthographicCamera} method.
* A camera has a multitude of properties and methods that can be used to adjust the behavior.
*/
export interface IOrthographicCameraApi extends ICameraApi {
/**
* The direction of the camera. (default: ORTHOGRAPHIC_CAMERA_DIRECTION.CUSTOM)
*/
direction: ORTHOGRAPHIC_CAMERA_DIRECTION;
}
//# sourceMappingURL=IOrthographicCameraApi.d.ts.map