Provides the interface for the 3D model.
The objects of this class should not be created directly.
Constructor for a new Scene.
new sap.ui.vk.threejs.Scene(scene)
Param | Type | Default Value | Description |
---|---|---|---|
scene | THREE.Scene | The three.js scene object. |
Method | Description |
---|---|
enumerateMaterials |
Gets all materials defined in scene nodes |
sap.ui.vk.threejs.Scene.extend |
Creates a new subclass of class sap.ui.vk.threejs.Scene with name
|
getDefaultNodeHierarchy |
Gets the default node hierarchy in the Scene object. |
getId |
Gets the unique ID of the Scene object. |
sap.ui.vk.threejs.Scene.getMetadata |
Returns a metadata object for class sap.ui.vk.threejs.Scene. |
getSceneRef |
Gets the scene reference for the Scene object. |
nodeRefToPersistentId |
Gets the persistent ID from node reference. |
persistentIdToNodeRef |
Gets the node reference from persistent ID. |
Creates a new subclass of class sap.ui.vk.threejs.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 |