GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

MeshVertexAttributes Class

Object describing the attributes of each vertex of the mesh.
ArcGIS Maps SDK for JavaScript

public class MeshVertexAttributes : dymaptic.GeoBlazor.Core.Components.MapComponent

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

Constructors

MeshVertexAttributes() Constructor

Parameterless constructor for use as a Razor Component.

public MeshVertexAttributes();

MeshVertexAttributes(Stream, double[], double[], double[], double[]) Constructor

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

public MeshVertexAttributes(System.IO.Stream? color=null, double[]? normal=null, double[]? position=null, double[]? tangent=null, double[]? uv=null);

Parameters

color System.IO.Stream

Since: 4.9 A flat array of the vertex colors (4 elements per vertex ranging from 0 to 255).
ArcGIS Maps SDK for JavaScript

normal System.Double[]

A flat array of the vertex normals (3 elements per vertex ranging from -1 to 1).
ArcGIS Maps SDK for JavaScript

position System.Double[]

A flat array of vertex positions.
ArcGIS Maps SDK for JavaScript

tangent System.Double[]

Since: 4.11 A flat array of the vertex tangents (4 elements per vertex ranging from -1 to 1.
ArcGIS Maps SDK for JavaScript

uv System.Double[]

A flat array of vertex uv coordinates (2 elements per vertex).
ArcGIS Maps SDK for JavaScript

Properties

MeshVertexAttributes.Color Property

Since: 4.9 A flat array of the vertex colors (4 elements per vertex ranging from 0 to 255).
ArcGIS Maps SDK for JavaScript

public System.IO.Stream? Color { get; set; }

Property Value

System.IO.Stream

MeshVertexAttributes.Normal Property

A flat array of the vertex normals (3 elements per vertex ranging from -1 to 1).
ArcGIS Maps SDK for JavaScript

public double[]? Normal { get; set; }

Property Value

System.Double[]

MeshVertexAttributes.Position Property

A flat array of vertex positions.
ArcGIS Maps SDK for JavaScript

public double[]? Position { get; set; }

Property Value

System.Double[]

MeshVertexAttributes.Tangent Property

Since: 4.11 A flat array of the vertex tangents (4 elements per vertex ranging from -1 to 1.
ArcGIS Maps SDK for JavaScript

public double[]? Tangent { get; set; }

Property Value

System.Double[]

MeshVertexAttributes.Uv Property

A flat array of vertex uv coordinates (2 elements per vertex).
ArcGIS Maps SDK for JavaScript

public double[]? Uv { get; set; }

Property Value

System.Double[]

Methods

MeshVertexAttributes.AddToNormal(double[]) Method

Asynchronously adds elements to the Normal property.

public System.Threading.Tasks.Task AddToNormal(params double[] values);

Parameters

values System.Double[]

The elements to add.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.AddToPosition(double[]) Method

Asynchronously adds elements to the Position property.

public System.Threading.Tasks.Task AddToPosition(params double[] values);

Parameters

values System.Double[]

The elements to add.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.AddToTangent(double[]) Method

Asynchronously adds elements to the Tangent property.

public System.Threading.Tasks.Task AddToTangent(params double[] values);

Parameters

values System.Double[]

The elements to add.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.AddToUv(double[]) Method

Asynchronously adds elements to the Uv property.

public System.Threading.Tasks.Task AddToUv(params double[] values);

Parameters

values System.Double[]

The elements to add.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.GetColor() Method

Asynchronously retrieve the current value of the Color property.

public System.Threading.Tasks.Task<System.IO.Stream?> GetColor();

Returns

System.Threading.Tasks.Task<System.IO.Stream>

MeshVertexAttributes.GetNormal() Method

Asynchronously retrieve the current value of the Normal property.

public System.Threading.Tasks.Task<double[]?> GetNormal();

Returns

System.Threading.Tasks.Task<System.Double[]>

MeshVertexAttributes.GetPosition() Method

Asynchronously retrieve the current value of the Position property.

public System.Threading.Tasks.Task<double[]?> GetPosition();

Returns

System.Threading.Tasks.Task<System.Double[]>

MeshVertexAttributes.GetTangent() Method

Asynchronously retrieve the current value of the Tangent property.

public System.Threading.Tasks.Task<double[]?> GetTangent();

Returns

System.Threading.Tasks.Task<System.Double[]>

MeshVertexAttributes.GetUv() Method

Asynchronously retrieve the current value of the Uv property.

public System.Threading.Tasks.Task<double[]?> GetUv();

Returns

System.Threading.Tasks.Task<System.Double[]>

MeshVertexAttributes.RemoveFromNormal(double[]) Method

Asynchronously remove an element from the Normal property.

public System.Threading.Tasks.Task RemoveFromNormal(params double[] values);

Parameters

values System.Double[]

The elements to remove.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.RemoveFromPosition(double[]) Method

Asynchronously remove an element from the Position property.

public System.Threading.Tasks.Task RemoveFromPosition(params double[] values);

Parameters

values System.Double[]

The elements to remove.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.RemoveFromTangent(double[]) Method

Asynchronously remove an element from the Tangent property.

public System.Threading.Tasks.Task RemoveFromTangent(params double[] values);

Parameters

values System.Double[]

The elements to remove.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.RemoveFromUv(double[]) Method

Asynchronously remove an element from the Uv property.

public System.Threading.Tasks.Task RemoveFromUv(params double[] values);

Parameters

values System.Double[]

The elements to remove.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.SetColor(Stream) Method

Asynchronously set the value of the Color property after render.

public System.Threading.Tasks.Task SetColor(System.IO.Stream? value);

Parameters

value System.IO.Stream

The value to set.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.SetNormal(double[]) Method

Asynchronously set the value of the Normal property after render.

public System.Threading.Tasks.Task SetNormal(double[]? value);

Parameters

value System.Double[]

The value to set.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.SetPosition(double[]) Method

Asynchronously set the value of the Position property after render.

public System.Threading.Tasks.Task SetPosition(double[]? value);

Parameters

value System.Double[]

The value to set.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.SetTangent(double[]) Method

Asynchronously set the value of the Tangent property after render.

public System.Threading.Tasks.Task SetTangent(double[]? value);

Parameters

value System.Double[]

The value to set.

Returns

System.Threading.Tasks.Task

MeshVertexAttributes.SetUv(double[]) Method

Asynchronously set the value of the Uv property after render.

public System.Threading.Tasks.Task SetUv(double[]? value);

Parameters

value System.Double[]

The value to set.

Returns

System.Threading.Tasks.Task