class sap.ui.vk.OrthographicCamera

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/vk/OrthographicCamera
Application Component: CA-UI5-VTK

Provides the interface for the orthographic camera.


Constructor

Constructor for a new OrthographicCamera.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.ui.vk.OrthographicCamera()

Properties

Name Type Default Value Description
zoomFactor float

Camera zoom factor

Visibility: public

Borrowed Properties

Name Type Default Value Description
farClipPlane float 1

Far clipping plane distance

Visibility: public
nearClipPlane float 0.1

Near clipping plane distance

Visibility: public
position float[] 0, 0, 0

Camera position in global space (x, y, z coordinates)

Visibility: public
targetDirection float[] 1, 0, 0

Camera direction vector in global space (normalized x, y, z vector values)

Visibility: public
upDirection float[] 0, 1, 0

Camera up vector in global space (normalized x, y, z vector values)

Visibility: public

Methods Overview

Method Description
sap.ui.vk.OrthographicCamera.extend

Creates a new subclass of class sap.ui.vk.OrthographicCamera with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.vk.Camera.extend.

sap.ui.vk.OrthographicCamera.getMetadata

Returns a metadata object for class sap.ui.vk.OrthographicCamera.

getZoomFactor

Gets current value of property zoomFactor.

Camera zoom factor

setZoomFactor

Sets a new value for property zoomFactor.

Camera zoom factor

When called with a value of null or undefined, the default value of the property will be restored.

sap.ui.vk.OrthographicCamera.extend

Creates a new subclass of class sap.ui.vk.OrthographicCamera with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.vk.Camera.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.ui.vk.OrthographicCamera.getMetadata

Returns a metadata object for class sap.ui.vk.OrthographicCamera.

getZoomFactor

Gets current value of property zoomFactor.

Camera zoom factor

setZoomFactor

Sets a new value for property zoomFactor.

Camera zoom factor

When called with a value of null or undefined, the default value of the property will be restored.

Param Type DefaultValue Description
fZoomFactor float

New value for property zoomFactor