dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Serialization
MeshTextureSerializationRecord Class
Protobuf serialization record for MeshTexture.
public record MeshTextureSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.MeshTexture>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.MeshTextureSerializationRecord>
Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<MeshTexture> 🡒 MeshTextureSerializationRecord
Implements System.IEquatable<MeshTextureSerializationRecord>
Constructors
MeshTextureSerializationRecord() Constructor
Default constructor for protobuf deserialization.
public MeshTextureSerializationRecord();
MeshTextureSerializationRecord(ImageDataSerializationRecord, string[], Nullable, string) Constructor
Creates a new MeshTextureSerializationRecord with the specified values.
public MeshTextureSerializationRecord(dymaptic.GeoBlazor.Core.Serialization.ImageDataSerializationRecord? imageData, string?[]? wrap, System.Nullable<bool> transparent, string? url);
Parameters
imageData ImageDataSerializationRecord
wrap System.String[]
transparent System.Nullable<System.Boolean>
url System.String
Properties
MeshTextureSerializationRecord.ImageData Property
The image data for the texture.
public dymaptic.GeoBlazor.Core.Serialization.ImageDataSerializationRecord? ImageData { get; init; }
Property Value
MeshTextureSerializationRecord.IsNull Property
Indicates whether this record represents a null value.
public override bool IsNull { get; init; }
Property Value
MeshTextureSerializationRecord.Transparent Property
Indicates whether the texture has transparency.
public System.Nullable<bool> Transparent { get; init; }
Property Value
System.Nullable<System.Boolean>
MeshTextureSerializationRecord.Url Property
The URL of the texture image.
public string? Url { get; init; }
Property Value
MeshTextureSerializationRecord.Wrap Property
The wrap modes for the texture.
public string?[]? Wrap { get; init; }
Property Value
Methods
MeshTextureSerializationRecord.FromSerializationRecord() Method
Converts this serialization record back to the original type.
public override dymaptic.GeoBlazor.Core.Components.MeshTexture? FromSerializationRecord();