class sap.ui.vk.NodeProxy

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

Provides a proxy object to the node in the node hierarchy.

Objects of this type should only be created with the sap.ui.vk.NodeHierarchy.createNodeProxy method. and destroyed with the sap.ui.vk.NodeHierarchy.destroyNodeProxy method.


Constructor

Constructor for a new NodeProxy.

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.NodeProxy()

Properties

Name Type Default Value Description
closed boolean

The indicator showing if the node is closed. This property is read-only.

Visibility: public
hasChildren boolean

The indicator showing if the node has child nodes. This property is read-only.

Visibility: public
localMatrix sap.ui.vk.TransformationMatrix

The local transformation matrix of the node.

Visibility: public
material sap.ui.vk.Material

The material of the node (optional).

Visibility: public
name string

The name of the node. This property is read-only.

Visibility: public
nodeMetadata object

The node metadata. This property is read-only.

Visibility: public
nodeRef any

The node reference. This property is read-only.

Visibility: public
opacity float

The node opacity.

Visibility: public
tintColor sap.ui.core.CSSColor

The tint color.

Visibility: public
tintColorABGR int

The tint color.

The tint color is a 32-bit integer in the ABGR notation, where A is amount of blending between material color and tint color.

Visibility: public
veIds object[]

The node VE IDs. This property is read-only.

Visibility: public
worldMatrix sap.ui.vk.TransformationMatrix

The world transformation matrix of the node.

Visibility: public

Methods Overview

Method Description
bindLocalMatrix

Binds property localMatrix to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

bindOpacity

Binds property opacity to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

bindTintColor

Binds property tintColor to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

bindTintColorABGR

Binds property tintColorABGR to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

bindWorldMatrix

Binds property worldMatrix to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

sap.ui.vk.NodeProxy.extend

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

getClosed

Gets current value of property closed.

The indicator showing if the node is closed. This property is read-only.

getHasChildren

Gets current value of property hasChildren.

The indicator showing if the node has child nodes. This property is read-only.

getLocalMatrix

Gets current value of property localMatrix.

The local transformation matrix of the node.

getLocalRotationInAngleAxis

get local rotation represented by axis and angle

getLocalRotationInEuler

get local rotation in Euler form

getLocalRotationInQuaternion

get local rotation represented by quaternion

getLocalScale

get local scale vector

getLocalTranslate

get local translate vector

getMaterial

Gets current value of property material.

The material of the node (optional).

sap.ui.vk.NodeProxy.getMetadata

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

getName

Gets current value of property name.

The name of the node. This property is read-only.

getNodeMetadata

Gets current value of property nodeMetadata.

The node metadata. This property is read-only.

getNodeRef

Gets current value of property nodeRef.

The node reference. This property is read-only.

getOpacity

Gets current value of property opacity.

The node opacity.

getSceneRef

Gets the scene reference that this NodeProxy object wraps.

getTintColor

Gets current value of property tintColor.

The tint color.

getTintColorABGR

Gets current value of property tintColorABGR.

The tint color.

The tint color is a 32-bit integer in the ABGR notation, where A is amount of blending between material color and tint color.

getVeIds

Gets current value of property veIds.

The node VE IDs. This property is read-only.

getWorldMatrix

Gets current value of property worldMatrix.

The world transformation matrix of the node.

setClosed

Sets a new value for property closed.

The indicator showing if the node is closed. This property is read-only.

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

setHasChildren

Sets a new value for property hasChildren.

The indicator showing if the node has child nodes. This property is read-only.

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

setLocalMatrix

Sets a new value for property localMatrix.

The local transformation matrix of the node.

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

setMaterial

Sets a new value for property material.

The material of the node (optional).

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

setName

Sets a new value for property name.

The name of the node. This property is read-only.

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

setNodeMetadata

Sets a new value for property nodeMetadata.

The node metadata. This property is read-only.

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

setNodeRef

Sets a new value for property nodeRef.

The node reference. This property is read-only.

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

setOpacity

Sets a new value for property opacity.

The node opacity.

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

setTintColor

Sets a new value for property tintColor.

The tint color.

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

setTintColorABGR

Sets a new value for property tintColorABGR.

The tint color.

The tint color is a 32-bit integer in the ABGR notation, where A is amount of blending between material color and tint color.

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

setVeIds

Sets a new value for property veIds.

The node VE IDs. This property is read-only.

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

setWorldMatrix

Sets a new value for property worldMatrix.

The world transformation matrix of the node.

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

unbindLocalMatrix

Unbinds property localMatrix from model data.

unbindOpacity

Unbinds property opacity from model data.

unbindTintColor

Unbinds property tintColor from model data.

unbindTintColorABGR

Unbinds property tintColorABGR from model data.

unbindWorldMatrix

Unbinds property worldMatrix from model data.

bindLocalMatrix

Binds property localMatrix to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

Param Type DefaultValue Description
oBindingInfo sap.ui.base.ManagedObject.PropertyBindingInfo

The binding information

bindOpacity

Binds property opacity to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

Param Type DefaultValue Description
oBindingInfo sap.ui.base.ManagedObject.PropertyBindingInfo

The binding information

bindTintColor

Binds property tintColor to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

Param Type DefaultValue Description
oBindingInfo sap.ui.base.ManagedObject.PropertyBindingInfo

The binding information

bindTintColorABGR

Binds property tintColorABGR to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

Param Type DefaultValue Description
oBindingInfo sap.ui.base.ManagedObject.PropertyBindingInfo

The binding information

bindWorldMatrix

Binds property worldMatrix to model data.

See ManagedObject.bindProperty for a detailed description of the possible properties of oBindingInfo

Param Type DefaultValue Description
oBindingInfo sap.ui.base.ManagedObject.PropertyBindingInfo

The binding information

sap.ui.vk.NodeProxy.extend

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

getClosed

Gets current value of property closed.

The indicator showing if the node is closed. This property is read-only.

getHasChildren

Gets current value of property hasChildren.

The indicator showing if the node has child nodes. This property is read-only.

getLocalMatrix

Gets current value of property localMatrix.

The local transformation matrix of the node.

getLocalRotationInAngleAxis

get local rotation represented by axis and angle

getLocalRotationInEuler

get local rotation in Euler form

getLocalRotationInQuaternion

get local rotation represented by quaternion

getLocalScale

get local scale vector

getLocalTranslate

get local translate vector

getMaterial

Gets current value of property material.

The material of the node (optional).

sap.ui.vk.NodeProxy.getMetadata

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

getName

Gets current value of property name.

The name of the node. This property is read-only.

getNodeMetadata

Gets current value of property nodeMetadata.

The node metadata. This property is read-only.

getNodeRef

Gets current value of property nodeRef.

The node reference. This property is read-only.

getOpacity

Gets current value of property opacity.

The node opacity.

getSceneRef

Gets the scene reference that this NodeProxy object wraps.

getTintColor

Gets current value of property tintColor.

The tint color.

getTintColorABGR

Gets current value of property tintColorABGR.

The tint color.

The tint color is a 32-bit integer in the ABGR notation, where A is amount of blending between material color and tint color.

getVeIds

Gets current value of property veIds.

The node VE IDs. This property is read-only.

getWorldMatrix

Gets current value of property worldMatrix.

The world transformation matrix of the node.

setClosed

Sets a new value for property closed.

The indicator showing if the node is closed. This property is read-only.

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

Param Type DefaultValue Description
bClosed boolean

New value for property closed

setHasChildren

Sets a new value for property hasChildren.

The indicator showing if the node has child nodes. This property is read-only.

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

Param Type DefaultValue Description
bHasChildren boolean

New value for property hasChildren

setLocalMatrix

Sets a new value for property localMatrix.

The local transformation matrix of the node.

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

Param Type DefaultValue Description
sLocalMatrix sap.ui.vk.TransformationMatrix

New value for property localMatrix

setMaterial

Sets a new value for property material.

The material of the node (optional).

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

Param Type DefaultValue Description
sMaterial sap.ui.vk.Material

New value for property material

setName

Sets a new value for property name.

The name of the node. This property is read-only.

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

Param Type DefaultValue Description
sName string

New value for property name

setNodeMetadata

Sets a new value for property nodeMetadata.

The node metadata. This property is read-only.

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

Param Type DefaultValue Description
oNodeMetadata object

New value for property nodeMetadata

setNodeRef

Sets a new value for property nodeRef.

The node reference. This property is read-only.

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

Param Type DefaultValue Description
oNodeRef any

New value for property nodeRef

setOpacity

Sets a new value for property opacity.

The node opacity.

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

Param Type DefaultValue Description
fOpacity float

New value for property opacity

setTintColor

Sets a new value for property tintColor.

The tint color.

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

Param Type DefaultValue Description
sTintColor sap.ui.core.CSSColor

New value for property tintColor

setTintColorABGR

Sets a new value for property tintColorABGR.

The tint color.

The tint color is a 32-bit integer in the ABGR notation, where A is amount of blending between material color and tint color.

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

Param Type DefaultValue Description
iTintColorABGR int

New value for property tintColorABGR

setVeIds

Sets a new value for property veIds.

The node VE IDs. This property is read-only.

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

Param Type DefaultValue Description
sVeIds object[]

New value for property veIds

setWorldMatrix

Sets a new value for property worldMatrix.

The world transformation matrix of the node.

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

Param Type DefaultValue Description
sWorldMatrix sap.ui.vk.TransformationMatrix

New value for property worldMatrix

unbindLocalMatrix

Unbinds property localMatrix from model data.

unbindOpacity

Unbinds property opacity from model data.

unbindTintColor

Unbinds property tintColor from model data.

unbindTintColorABGR

Unbinds property tintColorABGR from model data.

unbindWorldMatrix

Unbinds property worldMatrix from model data.