Provides the interface for the material.
Name | Type | Default Value | Description |
---|---|---|---|
ambientColour | sap.ui.core.CSSColor | rgba(0, 0, 0, 1) | Ambient colour (optional) - red, green, blue, and alpha Visibility: public |
diffuseColour | sap.ui.core.CSSColor | rgba(0, 0, 0, 1) | Diffuse colour (optional) - red, green, blue, and alpha Visibility: public |
emissiveColour | sap.ui.core.CSSColor | rgba(0, 0, 0, 1) | Emissive colour (optional) - red, green, blue, and alpha Visibility: public |
glossiness | float | 0 | Glossiness (optional) Visibility: public |
id | string | Material id Visibility: public |
|
lineColour | sap.ui.core.CSSColor | rgba(0, 0, 0, 1) | Line colour (optional) - red, green, blue, and alpha Visibility: public |
lineWidth | float | 0 | Line width (optional) Visibility: public |
name | string | Material name Visibility: public |
|
opacity | float | 1 | Opacity (optional) Visibility: public |
specularColour | sap.ui.core.CSSColor | rgba(0, 0, 0, 1) | Specular colour (optional) - red, green, blue, and alpha Visibility: public |
textureAmbientOcclusion | sap.ui.vk.Texture | Ambient occlusion texture (optional) Visibility: public |
|
textureBump | sap.ui.vk.Texture | Bump texture (optional) Visibility: public |
|
textureDiffuse | sap.ui.vk.Texture | Diffuse texture (optional) Visibility: public |
|
textureEmissive | sap.ui.vk.Texture | Emissive texture (optional) Visibility: public |
|
textureOpacity | sap.ui.vk.Texture | Opacity texture (optional) Visibility: public |
|
textureReflection | sap.ui.vk.Texture | Reflection texture (optional) Visibility: public |
Method | Description |
---|---|
sap.ui.vk.threejs.Material.extend |
Creates a new subclass of class sap.ui.vk.threejs.Material with name
|
sap.ui.vk.threejs.Material.getMetadata |
Returns a metadata object for class sap.ui.vk.threejs.Material. |
Creates a new subclass of class sap.ui.vk.threejs.Material 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.Material.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 |