GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

MeshMaterialMetallicRoughness Class

A material determines how a MeshComponent is visualized.
ArcGIS Maps SDK for JavaScript

public class MeshMaterialMetallicRoughness : dymaptic.GeoBlazor.Pro.Components.MeshMaterial,
dymaptic.GeoBlazor.Core.Interfaces.IMeshComponentMaterial,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 MeshMaterial 🡒 MeshMaterialMetallicRoughness

Implements dymaptic.GeoBlazor.Core.Interfaces.IMeshComponentMaterial, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Constructors

MeshMaterialMetallicRoughness() Constructor

Parameterless constructor for use as a Razor Component.

public MeshMaterialMetallicRoughness();

MeshMaterialMetallicRoughness(Nullable, Nullable, MapColor, MeshTexture, MeshTextureTransform, Nullable, MapColor, MeshTexture, MeshTextureTransform, Nullable, MeshTexture, MeshTexture, MeshTextureTransform, MeshTexture, MeshTextureTransform, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public MeshMaterialMetallicRoughness(System.Nullable<double> alphaCutoff=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.AlphaMode> alphaMode=null, dymaptic.GeoBlazor.Core.Model.MapColor? color=null, dymaptic.GeoBlazor.Pro.Components.MeshTexture? colorTexture=null, dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? colorTextureTransform=null, System.Nullable<bool> doubleSided=null, dymaptic.GeoBlazor.Core.Model.MapColor? emissiveColor=null, dymaptic.GeoBlazor.Pro.Components.MeshTexture? emissiveTexture=null, dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? emissiveTextureTransform=null, System.Nullable<double> metallic=null, dymaptic.GeoBlazor.Pro.Components.MeshTexture? metallicRoughnessTexture=null, dymaptic.GeoBlazor.Pro.Components.MeshTexture? normalTexture=null, dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? normalTextureTransform=null, dymaptic.GeoBlazor.Pro.Components.MeshTexture? occlusionTexture=null, dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? occlusionTextureTransform=null, System.Nullable<double> roughness=null);

Parameters

alphaCutoff System.Nullable<System.Double>

Specifies how transparency on the object is handled.
default 0.5
ArcGIS Maps SDK for JavaScript

alphaMode System.Nullable<dymaptic.GeoBlazor.Core.Enums.AlphaMode>

Specifies how transparency on the object is handled.
default “auto”
ArcGIS Maps SDK for JavaScript

color dymaptic.GeoBlazor.Core.Model.MapColor

Specifies a single, uniform color for the mesh component.
ArcGIS Maps SDK for JavaScript

colorTexture MeshTexture

Specifies a texture from which to get color information.
ArcGIS Maps SDK for JavaScript

colorTextureTransform MeshTextureTransform

A transformation of UV mesh coordinates used to sample the color texture.
default undefined
ArcGIS Maps SDK for JavaScript

doubleSided System.Nullable<System.Boolean>

Specifies whether both sides of each triangle are displayed, or only the front sides.
default true
ArcGIS Maps SDK for JavaScript

emissiveColor dymaptic.GeoBlazor.Core.Model.MapColor

Specifies a single, uniform emissive color for the MeshComponent.
ArcGIS Maps SDK for JavaScript

emissiveTexture MeshTexture

Specifies a texture from which to get emissive color information.
ArcGIS Maps SDK for JavaScript

emissiveTextureTransform MeshTextureTransform

A transformation of UV mesh coordinates used to sample the emissive texture.
default undefined
ArcGIS Maps SDK for JavaScript

metallic System.Nullable<System.Double>

Specifies how much the material behaves like a metal.
default 1
ArcGIS Maps SDK for JavaScript

metallicRoughnessTexture MeshTexture

Specifies a texture from which to get the combined metallic/roughness information.
ArcGIS Maps SDK for JavaScript

normalTexture MeshTexture

Specifies a texture from which to get normal information.
ArcGIS Maps SDK for JavaScript

normalTextureTransform MeshTextureTransform

A transformation of UV mesh coordinates used to sample the normal texture.
default undefined
ArcGIS Maps SDK for JavaScript

occlusionTexture MeshTexture

Allows to specify a texture to get the occlusion information from.
ArcGIS Maps SDK for JavaScript

occlusionTextureTransform MeshTextureTransform

A transformation of UV mesh coordinates used to sample the occlusion texture.
default undefined
ArcGIS Maps SDK for JavaScript

roughness System.Nullable<System.Double>

Indicates how rough the surface of the material is.
default 1
ArcGIS Maps SDK for JavaScript

Properties

MeshMaterialMetallicRoughness.EmissiveColor Property

Specifies a single, uniform emissive color for the MeshComponent.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.MapColor? EmissiveColor { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Model.MapColor

MeshMaterialMetallicRoughness.EmissiveTexture Property

Specifies a texture from which to get emissive color information.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Components.MeshTexture? EmissiveTexture { get; set; }

Property Value

MeshTexture

MeshMaterialMetallicRoughness.EmissiveTextureTransform Property

A transformation of UV mesh coordinates used to sample the emissive texture.
default undefined
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? EmissiveTextureTransform { get; set; }

Property Value

MeshTextureTransform

MeshMaterialMetallicRoughness.Metallic Property

Specifies how much the material behaves like a metal.
default 1
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Metallic { get; set; }

Property Value

System.Nullable<System.Double>

MeshMaterialMetallicRoughness.MetallicRoughnessTexture Property

Specifies a texture from which to get the combined metallic/roughness information.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Components.MeshTexture? MetallicRoughnessTexture { get; set; }

Property Value

MeshTexture

MeshMaterialMetallicRoughness.OcclusionTexture Property

Allows to specify a texture to get the occlusion information from.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Components.MeshTexture? OcclusionTexture { get; set; }

Property Value

MeshTexture

MeshMaterialMetallicRoughness.OcclusionTextureTransform Property

A transformation of UV mesh coordinates used to sample the occlusion texture.
default undefined
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? OcclusionTextureTransform { get; set; }

Property Value

MeshTextureTransform

MeshMaterialMetallicRoughness.Roughness Property

Indicates how rough the surface of the material is.
default 1
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Roughness { get; set; }

Property Value

System.Nullable<System.Double>

Methods

MeshMaterialMetallicRoughness.GetEmissiveColor() Method

Asynchronously retrieve the current value of the EmissiveColor property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor?> GetEmissiveColor();

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor>

MeshMaterialMetallicRoughness.GetEmissiveTexture() Method

Asynchronously retrieve the current value of the EmissiveTexture property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.MeshTexture?> GetEmissiveTexture();

Returns

System.Threading.Tasks.Task<MeshTexture>

MeshMaterialMetallicRoughness.GetEmissiveTextureTransform() Method

Asynchronously retrieve the current value of the EmissiveTextureTransform property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform?> GetEmissiveTextureTransform();

Returns

System.Threading.Tasks.Task<MeshTextureTransform>

MeshMaterialMetallicRoughness.GetMetallic() Method

Asynchronously retrieve the current value of the Metallic property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetMetallic();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

MeshMaterialMetallicRoughness.GetMetallicRoughnessTexture() Method

Asynchronously retrieve the current value of the MetallicRoughnessTexture property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.MeshTexture?> GetMetallicRoughnessTexture();

Returns

System.Threading.Tasks.Task<MeshTexture>

MeshMaterialMetallicRoughness.GetOcclusionTexture() Method

Asynchronously retrieve the current value of the OcclusionTexture property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.MeshTexture?> GetOcclusionTexture();

Returns

System.Threading.Tasks.Task<MeshTexture>

MeshMaterialMetallicRoughness.GetOcclusionTextureTransform() Method

Asynchronously retrieve the current value of the OcclusionTextureTransform property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform?> GetOcclusionTextureTransform();

Returns

System.Threading.Tasks.Task<MeshTextureTransform>

MeshMaterialMetallicRoughness.GetRoughness() Method

Asynchronously retrieve the current value of the Roughness property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetRoughness();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

MeshMaterialMetallicRoughness.SetEmissiveColor(MapColor) Method

Asynchronously set the value of the EmissiveColor property after render.

public System.Threading.Tasks.Task SetEmissiveColor(dymaptic.GeoBlazor.Core.Model.MapColor? value);

Parameters

value dymaptic.GeoBlazor.Core.Model.MapColor

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetEmissiveTexture(MeshTexture) Method

Asynchronously set the value of the EmissiveTexture property after render.

public System.Threading.Tasks.Task SetEmissiveTexture(dymaptic.GeoBlazor.Pro.Components.MeshTexture? value);

Parameters

value MeshTexture

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetEmissiveTextureTransform(MeshTextureTransform) Method

Asynchronously set the value of the EmissiveTextureTransform property after render.

public System.Threading.Tasks.Task SetEmissiveTextureTransform(dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? value);

Parameters

value MeshTextureTransform

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetMetallic(Nullable) Method

Asynchronously set the value of the Metallic property after render.

public System.Threading.Tasks.Task SetMetallic(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetMetallicRoughnessTexture(MeshTexture) Method

Asynchronously set the value of the MetallicRoughnessTexture property after render.

public System.Threading.Tasks.Task SetMetallicRoughnessTexture(dymaptic.GeoBlazor.Pro.Components.MeshTexture? value);

Parameters

value MeshTexture

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetOcclusionTexture(MeshTexture) Method

Asynchronously set the value of the OcclusionTexture property after render.

public System.Threading.Tasks.Task SetOcclusionTexture(dymaptic.GeoBlazor.Pro.Components.MeshTexture? value);

Parameters

value MeshTexture

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetOcclusionTextureTransform(MeshTextureTransform) Method

Asynchronously set the value of the OcclusionTextureTransform property after render.

public System.Threading.Tasks.Task SetOcclusionTextureTransform(dymaptic.GeoBlazor.Pro.Components.MeshTextureTransform? value);

Parameters

value MeshTextureTransform

The value to set.

Returns

System.Threading.Tasks.Task

MeshMaterialMetallicRoughness.SetRoughness(Nullable) Method

Asynchronously set the value of the Roughness property after render.

public System.Threading.Tasks.Task SetRoughness(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task