dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Serialization
MeshVertexAttributesSerializationRecord Class
Protobuf serialization record for MeshVertexAttributes.
public record MeshVertexAttributesSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.MeshVertexAttributes>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.MeshVertexAttributesSerializationRecord>
Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<MeshVertexAttributes> 🡒 MeshVertexAttributesSerializationRecord
Implements System.IEquatable<MeshVertexAttributesSerializationRecord>
Constructors
MeshVertexAttributesSerializationRecord() Constructor
Default constructor for protobuf deserialization.
public MeshVertexAttributesSerializationRecord();
MeshVertexAttributesSerializationRecord(byte[], double[], double[], double[], double[]) Constructor
Creates a new MeshVertexAttributesSerializationRecord with the specified values.
public MeshVertexAttributesSerializationRecord(byte[]? color, double[]? normal, double[]? position, double[]? tangent, double[]? uv);
Parameters
color System.Byte[]
normal System.Double[]
position System.Double[]
tangent System.Double[]
Properties
MeshVertexAttributesSerializationRecord.Color Property
The vertex colors as RGBA bytes.
public byte[]? Color { get; init; }
Property Value
MeshVertexAttributesSerializationRecord.IsNull Property
Indicates whether this record represents a null value.
public override bool IsNull { get; init; }
Property Value
MeshVertexAttributesSerializationRecord.Normal Property
The vertex normals.
public double[]? Normal { get; init; }
Property Value
MeshVertexAttributesSerializationRecord.Position Property
The vertex positions.
public double[]? Position { get; init; }
Property Value
MeshVertexAttributesSerializationRecord.Tangent Property
The vertex tangents.
public double[]? Tangent { get; init; }
Property Value
MeshVertexAttributesSerializationRecord.Uv Property
The texture coordinates.
public double[]? Uv { get; init; }
Property Value
Methods
MeshVertexAttributesSerializationRecord.FromSerializationRecord() Method
Converts this serialization record back to the original type.
public override dymaptic.GeoBlazor.Core.Components.MeshVertexAttributes? FromSerializationRecord();