dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Serialization
MeshTransformSerializationRecord Class
Protobuf serialization record for MeshTransform.
public record MeshTransformSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.MeshTransform>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.MeshTransformSerializationRecord>
Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<MeshTransform> 🡒 MeshTransformSerializationRecord
Implements System.IEquatable<MeshTransformSerializationRecord>
Constructors
MeshTransformSerializationRecord() Constructor
Default constructor for protobuf deserialization.
public MeshTransformSerializationRecord();
MeshTransformSerializationRecord(Nullable, double[], double[], double[]) Constructor
Creates a new MeshTransformSerializationRecord with the specified values.
public MeshTransformSerializationRecord(System.Nullable<double> rotationAngle, double[]? rotationAxis, double[]? scale, double[]? translation);
Parameters
rotationAngle System.Nullable<System.Double>
rotationAxis System.Double[]
scale System.Double[]
translation System.Double[]
Properties
MeshTransformSerializationRecord.IsNull Property
Indicates whether this record represents a null value.
public override bool IsNull { get; init; }
Property Value
MeshTransformSerializationRecord.RotationAngle Property
The rotation angle in degrees.
public System.Nullable<double> RotationAngle { get; init; }
Property Value
System.Nullable<System.Double>
MeshTransformSerializationRecord.RotationAxis Property
The rotation axis vector.
public double[]? RotationAxis { get; init; }
Property Value
MeshTransformSerializationRecord.Scale Property
The scale factors.
public double[]? Scale { get; init; }
Property Value
MeshTransformSerializationRecord.Translation Property
The translation vector.
public double[]? Translation { get; init; }
Property Value
Methods
MeshTransformSerializationRecord.FromSerializationRecord() Method
Converts this serialization record back to the original type.
public override dymaptic.GeoBlazor.Core.Components.MeshTransform? FromSerializationRecord();