GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
MeshTransform Class
A mesh transform.
ArcGIS Maps SDK for JavaScript
public class MeshTransform : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 MeshTransform
Constructors
MeshTransform() Constructor
Parameterless constructor for use as a Razor Component.
public MeshTransform();
MeshTransform(Nullable, IReadOnlyList, IReadOnlyList, IReadOnlyList) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public MeshTransform(System.Nullable<double> rotationAngle=null, System.Collections.Generic.IReadOnlyList<double>? rotationAxis=null, System.Collections.Generic.IReadOnlyList<double>? scale=null, System.Collections.Generic.IReadOnlyList<double>? translation=null);
Parameters
rotationAngle
System.Nullable<System.Double>
Rotation angle in degrees.
default 0
ArcGIS Maps SDK for JavaScript
rotationAxis
System.Collections.Generic.IReadOnlyList<System.Double>
Axis of rotation.
default [0, 0, 1]
ArcGIS Maps SDK for JavaScript
scale
System.Collections.Generic.IReadOnlyList<System.Double>
Scale.
default [1, 1, 1]
ArcGIS Maps SDK for JavaScript
translation
System.Collections.Generic.IReadOnlyList<System.Double>
Translation.
default [0, 0, 0]
ArcGIS Maps SDK for JavaScript
Properties
MeshTransform.RotationAngle Property
Rotation angle in degrees.
default 0
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> RotationAngle { get; set; }
Property Value
System.Nullable<System.Double>
MeshTransform.RotationAxis Property
Axis of rotation.
default [0, 0, 1]
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<double>? RotationAxis { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
MeshTransform.Scale Property
Scale.
default [1, 1, 1]
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<double>? Scale { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
MeshTransform.Translation Property
Translation.
default [0, 0, 0]
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<double>? Translation { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.Double>
Methods
MeshTransform.AddToRotationAxis(double[]) Method
Asynchronously adds elements to the RotationAxis property.
public System.Threading.Tasks.Task AddToRotationAxis(params double[] values);
Parameters
values
System.Double[]
The elements to add.
Returns
MeshTransform.AddToScale(double[]) Method
Asynchronously adds elements to the Scale property.
public System.Threading.Tasks.Task AddToScale(params double[] values);
Parameters
values
System.Double[]
The elements to add.
Returns
MeshTransform.AddToTranslation(double[]) Method
Asynchronously adds elements to the Translation property.
public System.Threading.Tasks.Task AddToTranslation(params double[] values);
Parameters
values
System.Double[]
The elements to add.
Returns
MeshTransform.GetRotationAngle() Method
Asynchronously retrieve the current value of the RotationAngle property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetRotationAngle();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
MeshTransform.GetRotationAxis() Method
Asynchronously retrieve the current value of the RotationAxis property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<double>?> GetRotationAxis();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Double>>
MeshTransform.GetScale() Method
Asynchronously retrieve the current value of the Scale property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<double>?> GetScale();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Double>>
MeshTransform.GetTranslation() Method
Asynchronously retrieve the current value of the Translation property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<double>?> GetTranslation();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.Double>>
MeshTransform.RemoveFromRotationAxis(double[]) Method
Asynchronously remove an element from the RotationAxis property.
public System.Threading.Tasks.Task RemoveFromRotationAxis(params double[] values);
Parameters
values
System.Double[]
The elements to remove.
Returns
MeshTransform.RemoveFromScale(double[]) Method
Asynchronously remove an element from the Scale property.
public System.Threading.Tasks.Task RemoveFromScale(params double[] values);
Parameters
values
System.Double[]
The elements to remove.
Returns
MeshTransform.RemoveFromTranslation(double[]) Method
Asynchronously remove an element from the Translation property.
public System.Threading.Tasks.Task RemoveFromTranslation(params double[] values);
Parameters
values
System.Double[]
The elements to remove.
Returns
MeshTransform.SetRotationAngle(Nullable) Method
Asynchronously set the value of the RotationAngle property after render.
public System.Threading.Tasks.Task SetRotationAngle(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
MeshTransform.SetRotationAxis(IReadOnlyList) Method
Asynchronously set the value of the RotationAxis property after render.
public System.Threading.Tasks.Task SetRotationAxis(System.Collections.Generic.IReadOnlyList<double>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.Double>
The value to set.
Returns
MeshTransform.SetScale(IReadOnlyList) Method
Asynchronously set the value of the Scale property after render.
public System.Threading.Tasks.Task SetScale(System.Collections.Generic.IReadOnlyList<double>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.Double>
The value to set.
Returns
MeshTransform.SetTranslation(IReadOnlyList) Method
Asynchronously set the value of the Translation property after render.
public System.Threading.Tasks.Task SetTranslation(System.Collections.Generic.IReadOnlyList<double>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.Double>
The value to set.