Provides the interface for the texture.
Constructor for a new texture
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.Texture()
Name | Type | Default Value | Description |
---|---|---|---|
filterMode | int | 0 | filter mode - Bilinear = 0, NearestNeighbor = 1 Visibility: public |
id | string | texture ID (optional) Visibility: public |
|
uvHorizontalOffset | float | 0 | Horizontal offset of uv coordinates Visibility: public |
uvHorizontalScale | float | 0 | Horizontal scale of uv coordinates Visibility: public |
uvHorizontalTilingEnabled | boolean | true | Is the uv horizontal tiling enabled Visibility: public |
uvRotationAngle | float | 0 | Rotation angle of uv coordinates Visibility: public |
uvVerticalOffset | float | 0 | VerticalOffset offset of uv coordinates Visibility: public |
uvVerticalScale | float | 0 | Vertical scale of uv coordinates Visibility: public |
uvVerticalTilingEnabled | boolean | true | Is the uv vertical tiling enabled Visibility: public |
Method | Description |
---|---|
sap.ui.vk.Texture.extend |
Creates a new subclass of class sap.ui.vk.Texture with name
|
getFilterMode |
Gets current value of property filterMode. filter mode - Bilinear = 0, NearestNeighbor = 1 Default value is |
getId |
Gets current value of property id. texture ID (optional) |
sap.ui.vk.Texture.getMetadata |
Returns a metadata object for class sap.ui.vk.Texture. |
getTextRef | |
getUvHorizontalOffset |
Gets current value of property uvHorizontalOffset. Horizontal offset of uv coordinates Default value is |
getUvHorizontalScale |
Gets current value of property uvHorizontalScale. Horizontal scale of uv coordinates Default value is |
getUvHorizontalTilingEnabled |
Gets current value of property uvHorizontalTilingEnabled. Is the uv horizontal tiling enabled Default value is |
getUvRotationAngle |
Gets current value of property uvRotationAngle. Rotation angle of uv coordinates Default value is |
getUvVerticalOffset |
Gets current value of property uvVerticalOffset. VerticalOffset offset of uv coordinates Default value is |
getUvVerticalScale |
Gets current value of property uvVerticalScale. Vertical scale of uv coordinates Default value is |
getUvVerticalTilingEnabled |
Gets current value of property uvVerticalTilingEnabled. Is the uv vertical tiling enabled Default value is |
load |
Load texture image. |
setFilterMode |
Sets a new value for property filterMode. filter mode - Bilinear = 0, NearestNeighbor = 1 When called with a value of Default value is |
setId |
Sets a new value for property id. texture ID (optional) When called with a value of |
setUvHorizontalOffset |
Sets a new value for property uvHorizontalOffset. Horizontal offset of uv coordinates When called with a value of Default value is |
setUvHorizontalScale |
Sets a new value for property uvHorizontalScale. Horizontal scale of uv coordinates When called with a value of Default value is |
setUvHorizontalTilingEnabled |
Sets a new value for property uvHorizontalTilingEnabled. Is the uv horizontal tiling enabled When called with a value of Default value is |
setUvRotationAngle |
Sets a new value for property uvRotationAngle. Rotation angle of uv coordinates When called with a value of Default value is |
setUvVerticalOffset |
Sets a new value for property uvVerticalOffset. VerticalOffset offset of uv coordinates When called with a value of Default value is |
setUvVerticalScale |
Sets a new value for property uvVerticalScale. Vertical scale of uv coordinates When called with a value of Default value is |
setUvVerticalTilingEnabled |
Sets a new value for property uvVerticalTilingEnabled. Is the uv vertical tiling enabled When called with a value of Default value is |
Creates a new subclass of class sap.ui.vk.Texture 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 filterMode.
filter mode - Bilinear = 0, NearestNeighbor = 1
Default value is 0
.
Gets current value of property uvHorizontalOffset.
Horizontal offset of uv coordinates
Default value is 0.0
.
Gets current value of property uvHorizontalScale.
Horizontal scale of uv coordinates
Default value is 0.0
.
Gets current value of property uvHorizontalTilingEnabled.
Is the uv horizontal tiling enabled
Default value is true
.
Gets current value of property uvRotationAngle.
Rotation angle of uv coordinates
Default value is 0.0
.
Gets current value of property uvVerticalOffset.
VerticalOffset offset of uv coordinates
Default value is 0.0
.
Gets current value of property uvVerticalScale.
Vertical scale of uv coordinates
Default value is 0.0
.
Gets current value of property uvVerticalTilingEnabled.
Is the uv vertical tiling enabled
Default value is true
.
Load texture image.
Param | Type | DefaultValue | Description |
---|---|---|---|
imageUrl | string |
resource url for image. |
Sets a new value for property filterMode.
filter mode - Bilinear = 0, NearestNeighbor = 1
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
iFilterMode | int | 0 |
New value for property |
Sets a new value for property id.
texture ID (optional)
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sId | string |
New value for property |
Sets a new value for property uvHorizontalOffset.
Horizontal offset of uv coordinates
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0.0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
fUvHorizontalOffset | float | 0.0 |
New value for property |
Sets a new value for property uvHorizontalScale.
Horizontal scale of uv coordinates
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0.0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
fUvHorizontalScale | float | 0.0 |
New value for property |
Sets a new value for property uvHorizontalTilingEnabled.
Is the uv horizontal tiling enabled
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bUvHorizontalTilingEnabled | boolean | true |
New value for property |
Sets a new value for property uvRotationAngle.
Rotation angle of uv coordinates
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0.0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
fUvRotationAngle | float | 0.0 |
New value for property |
Sets a new value for property uvVerticalOffset.
VerticalOffset offset of uv coordinates
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0.0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
fUvVerticalOffset | float | 0.0 |
New value for property |
Sets a new value for property uvVerticalScale.
Vertical scale of uv coordinates
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0.0
.
Param | Type | DefaultValue | Description |
---|---|---|---|
fUvVerticalScale | float | 0.0 |
New value for property |
Sets a new value for property uvVerticalTilingEnabled.
Is the uv vertical tiling enabled
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bUvVerticalTilingEnabled | boolean | true |
New value for property |