GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
MeshTexture Class
MeshTexture represents image data to be used for MeshMaterial or MeshMaterialMetallicRoughness.
ArcGIS Maps SDK for JavaScript
public class MeshTexture : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 MeshTexture
Constructors
MeshTexture() Constructor
Parameterless constructor for use as a Razor Component.
public MeshTexture();
MeshTexture(Nullable, ImageData, object, SeparableWrapModes, string, Nullable, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public MeshTexture(System.Nullable<Microsoft.AspNetCore.Components.ElementReference> htmlData=null, dymaptic.GeoBlazor.Core.Model.ImageData? imageData=null, object? objectData=null, dymaptic.GeoBlazor.Core.Model.SeparableWrapModes? separableWrapModesWrap=null, string? stringWrap=null, System.Nullable<bool> transparent=null, string? url=null);
Parameters
htmlData
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
A direct reference to the image or video data.
ArcGIS Maps SDK for JavaScript
imageData
dymaptic.GeoBlazor.Core.Model.ImageData
A direct reference to the image or video data.
ArcGIS Maps SDK for JavaScript
objectData
System.Object
A direct reference to the image or video data.
ArcGIS Maps SDK for JavaScript
separableWrapModesWrap
dymaptic.GeoBlazor.Core.Model.SeparableWrapModes
Specifies how uv coordinates outside the [0, 1] range are handled.
default “repeat”
ArcGIS Maps SDK for JavaScript
stringWrap
System.String
Specifies how uv coordinates outside the [0, 1] range are handled.
default “repeat”
ArcGIS Maps SDK for JavaScript
transparent
System.Nullable<System.Boolean>
Indicates whether the image data should be interpreted as being semi-transparent.
default undefined
ArcGIS Maps SDK for JavaScript
url
System.String
The url to the image resource.
ArcGIS Maps SDK for JavaScript
Properties
MeshTexture.HtmlData Property
A direct reference to the image or video data.
ArcGIS Maps SDK for JavaScript
public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> HtmlData { get; set; }
Property Value
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
MeshTexture.ImageData Property
A direct reference to the image or video data.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.ImageData? ImageData { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Model.ImageData
MeshTexture.ObjectData Property
A direct reference to the image or video data.
ArcGIS Maps SDK for JavaScript
public object? ObjectData { get; set; }
Property Value
MeshTexture.SeparableWrapModesWrap Property
Specifies how uv coordinates outside the [0, 1] range are handled.
default “repeat”
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.SeparableWrapModes? SeparableWrapModesWrap { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Model.SeparableWrapModes
MeshTexture.StringWrap Property
Specifies how uv coordinates outside the [0, 1] range are handled.
default “repeat”
ArcGIS Maps SDK for JavaScript
public string? StringWrap { get; set; }
Property Value
MeshTexture.Transparent Property
Indicates whether the image data should be interpreted as being semi-transparent.
default undefined
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> Transparent { get; set; }
Property Value
System.Nullable<System.Boolean>
MeshTexture.Url Property
The url to the image resource.
ArcGIS Maps SDK for JavaScript
public string? Url { get; set; }
Property Value
Methods
MeshTexture.GetHtmlData() Method
Asynchronously retrieve the current value of the HtmlData property.
public System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>> GetHtmlData();
Returns
System.Threading.Tasks.Task<System.Nullable<Microsoft.AspNetCore.Components.ElementReference>>
MeshTexture.GetImageData() Method
Asynchronously retrieve the current value of the ImageData property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ImageData?> GetImageData();
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ImageData>
MeshTexture.GetObjectData() Method
Asynchronously retrieve the current value of the ObjectData property.
public System.Threading.Tasks.Task<object?> GetObjectData();
Returns
System.Threading.Tasks.Task<System.Object>
MeshTexture.GetSeparableWrapModesWrap() Method
Asynchronously retrieve the current value of the SeparableWrapModesWrap property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.SeparableWrapModes?> GetSeparableWrapModesWrap();
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.SeparableWrapModes>
MeshTexture.GetStringWrap() Method
Asynchronously retrieve the current value of the StringWrap property.
public System.Threading.Tasks.Task<string?> GetStringWrap();
Returns
System.Threading.Tasks.Task<System.String>
MeshTexture.GetTransparent() Method
Asynchronously retrieve the current value of the Transparent property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetTransparent();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
MeshTexture.GetUrl() Method
Asynchronously retrieve the current value of the Url property.
public System.Threading.Tasks.Task<string?> GetUrl();
Returns
System.Threading.Tasks.Task<System.String>
MeshTexture.SetHtmlData(Nullable) Method
Asynchronously set the value of the HtmlData property after render.
public System.Threading.Tasks.Task SetHtmlData(System.Nullable<Microsoft.AspNetCore.Components.ElementReference> value);
Parameters
value
System.Nullable<Microsoft.AspNetCore.Components.ElementReference>
The value to set.
Returns
MeshTexture.SetImageData(ImageData) Method
Asynchronously set the value of the ImageData property after render.
public System.Threading.Tasks.Task SetImageData(dymaptic.GeoBlazor.Core.Model.ImageData? value);
Parameters
value
dymaptic.GeoBlazor.Core.Model.ImageData
The value to set.
Returns
MeshTexture.SetObjectData(object) Method
Asynchronously set the value of the ObjectData property after render.
public System.Threading.Tasks.Task SetObjectData(object? value);
Parameters
value
System.Object
The value to set.
Returns
MeshTexture.SetSeparableWrapModesWrap(SeparableWrapModes) Method
Asynchronously set the value of the SeparableWrapModesWrap property after render.
public System.Threading.Tasks.Task SetSeparableWrapModesWrap(dymaptic.GeoBlazor.Core.Model.SeparableWrapModes? value);
Parameters
value
dymaptic.GeoBlazor.Core.Model.SeparableWrapModes
The value to set.
Returns
MeshTexture.SetStringWrap(string) Method
Asynchronously set the value of the StringWrap property after render.
public System.Threading.Tasks.Task SetStringWrap(string? value);
Parameters
value
System.String
The value to set.
Returns
MeshTexture.SetTransparent(Nullable) Method
Asynchronously set the value of the Transparent property after render.
public System.Threading.Tasks.Task SetTransparent(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
MeshTexture.SetUrl(string) Method
Asynchronously set the value of the Url property after render.
public System.Threading.Tasks.Task SetUrl(string? value);
Parameters
value
System.String
The value to set.