Class sap.ui.vk.SceneModule: sap/ui/vk/Scene


Provides the interface for the 3D model.

The objects of this class should not be created directly. They should be created via call to sap.ui.vk.GraphicsCore.buildSceneTree.

Experimental API:Since 1.32.0 This class is experimental and might be modified or removed in future versions.

Constructor Summary
new sap.ui.vk.Scene(graphicsCore, dvlSceneId)Constructor for a new Scene.
Method Summary
sap.ui.vk.Scene.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.vk.Scene with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.vk.Scene.getMetadata()Returns a metadata object for class sap.ui.vk.Scene.
getDefaultNodeHierarchy()Gets the default node hierarchy in the Scene object.
getGraphicsCore()Gets the GraphicsCore object this Scene object belongs to.
getId()Gets the unique ID of the Scene object.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.vk.Scene(graphicsCore, dvlSceneId)
Constructor for a new Scene.
Parameters:
{sap.ui.vk.GraphicsCore}graphicsCore The GraphicsCore object the scene belongs to.
{string}dvlSceneId The identifier of the DVL scene object.
Method Detail
sap.ui.vk.Scene.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.vk.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.base.EventProvider.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.vk.Scene.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.vk.Scene.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getDefaultNodeHierarchy(): sap.ui.vk.NodeHierarchy
Gets the default node hierarchy in the Scene object.
Returns:
{sap.ui.vk.NodeHierarchy} The default node hierarchy in the Scene object.
getGraphicsCore(): sap.ui.vk.GraphicsCore
Gets the GraphicsCore object this Scene object belongs to.
Returns:
{sap.ui.vk.GraphicsCore} The GraphicsCore object this Scene object belongs to.
getId(): string
Gets the unique ID of the Scene object.
Returns:
{string} The unique ID of the Scene object.