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 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()
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 |
Method | Description |
---|---|
bindLocalMatrix |
Binds property localMatrix to model data. See ManagedObject.bindProperty for a detailed description of the possible properties of |
bindOpacity |
Binds property opacity to model data. See ManagedObject.bindProperty for a detailed description of the possible properties of |
bindTintColor |
Binds property tintColor to model data. See ManagedObject.bindProperty for a detailed description of the possible properties of |
bindTintColorABGR |
Binds property tintColorABGR to model data. See ManagedObject.bindProperty for a detailed description of the possible properties of |
bindWorldMatrix |
Binds property worldMatrix to model data. See ManagedObject.bindProperty for a detailed description of the possible properties of |
sap.ui.vk.NodeProxy.extend |
Creates a new subclass of class sap.ui.vk.NodeProxy with name
|
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 |
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 |
setLocalMatrix |
Sets a new value for property localMatrix. The local transformation matrix of the node. When called with a value of |
setMaterial |
Sets a new value for property material. The material of the node (optional). When called with a value of |
setName |
Sets a new value for property name. The name of the node. This property is read-only. When called with a value of |
setNodeMetadata |
Sets a new value for property nodeMetadata. The node metadata. This property is read-only. When called with a value of |
setNodeRef |
Sets a new value for property nodeRef. The node reference. This property is read-only. When called with a value of |
setOpacity |
Sets a new value for property opacity. The node opacity. When called with a value of |
setTintColor |
Sets a new value for property tintColor. The tint color. When called with a value of |
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 |
setVeIds |
Sets a new value for property veIds. The node VE IDs. This property is read-only. When called with a value of |
setWorldMatrix |
Sets a new value for property worldMatrix. The world transformation matrix of the node. When called with a value of |
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. |
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 |
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 |
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 |
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 |
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 |
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 |
Gets current value of property closed.
The indicator showing if the node is closed. This property is read-only.
Gets current value of property hasChildren.
The indicator showing if the node has child nodes. This property is read-only.
Gets current value of property localMatrix.
The local transformation matrix of the node.
Gets current value of property nodeMetadata.
The node metadata. This property is read-only.
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.
Gets current value of property worldMatrix.
The world transformation matrix of the node.
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |