class sap.ui.vk.svg.Scene

Control sample: sap.ui.vk.svg.Scene
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends: sap.ui.vk.Scene
Module: sap/ui/vk/svg/Scene
Application Component: CA-UI5-VTK

Provides the interface for the 2D model.

The objects of this class should not be created directly.


Constructor

Constructor for a new Scene.

new sap.ui.vk.svg.Scene()

Borrowed Properties

Name Type Default Value Description
doubleSided boolean false

Enables or disables double-sided materials

Visibility: public

Methods Overview

Method Description
sap.ui.vk.svg.Scene.extend

Creates a new subclass of class sap.ui.vk.svg.Scene 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.Scene.extend.

getDefaultNodeHierarchy

Gets the default node hierarchy in the Scene object.

getId

Gets the unique ID of the Scene object.

getInitialView

Get initial view

sap.ui.vk.svg.Scene.getMetadata

Returns a metadata object for class sap.ui.vk.svg.Scene.

getRootElement

Gets the root element reference for the Scene object.

nodeRefToPersistentId

Gets the persistent ID from node reference.

persistentIdToNodeRef

Gets the node reference from persistent ID.

setInitialView

Set initial view

sap.ui.vk.svg.Scene.extend

Creates a new subclass of class sap.ui.vk.svg.Scene 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.Scene.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

getDefaultNodeHierarchy

Gets the default node hierarchy in the Scene object.

getId

Gets the unique ID of the Scene object.

getInitialView

Get initial view

sap.ui.vk.svg.Scene.getMetadata

Returns a metadata object for class sap.ui.vk.svg.Scene.

getRootElement

Gets the root element reference for the Scene object.

nodeRefToPersistentId

Gets the persistent ID from node reference.

Param Type DefaultValue Description
nodeRefs sap.ui.vk.svg.Element sap.ui.vk.svg.Element[]

The reference to the node or the array of references to the nodes.

persistentIdToNodeRef

Gets the node reference from persistent ID.

Param Type DefaultValue Description
pIDs string string[]

The persistent ID or the array of the persistent IDs.

setInitialView

Set initial view

Param Type DefaultValue Description
view sap.ui.vk.View

Initial view