DoublePropertyData
Namespace: UAssetAPI.PropertyTypes.Objects
Describes an IEEE 64-bit floating point variable (Double).
public class DoublePropertyData : PropertyData, System.ICloneable
Inheritance Object → PropertyData → DoublePropertyData
Implements ICloneable
Fields
Value
The double that this property represents.
public double Value;
Name
The name of this property.
public FName Name;
Ancestry
The ancestry of this property. Contains information about all the classes/structs that this property is contained within. Not serialized.
public AncestryInfo Ancestry;
DuplicationIndex
The duplication index of this property. Used to distinguish properties with the same name in the same struct.
public int DuplicationIndex;
PropertyGuid
An optional property GUID. Nearly always null.
public Nullable<Guid> PropertyGuid;
Offset
The offset of this property on disk. This is for the user only, and has no bearing in the API itself.
public long Offset;
Tag
An optional tag which can be set on any property in memory. This is for the user only, and has no bearing in the API itself.
public object Tag;
Properties
PropertyType
public FString PropertyType { get; }
Property Value
DefaultValue
public object DefaultValue { get; }
Property Value
RawValue
public object RawValue { get; set; }
Property Value
ShouldBeRegistered
Determines whether or not this particular property should be registered in the property registry and automatically used when parsing assets.
public bool ShouldBeRegistered { get; }
Property Value
HasCustomStructSerialization
Determines whether or not this particular property has custom serialization within a StructProperty.
public bool HasCustomStructSerialization { get; }
Property Value
Constructors
DoublePropertyData(FName)
public DoublePropertyData(FName name)
Parameters
name
FName
DoublePropertyData()
public DoublePropertyData()
Methods
Read(AssetBinaryReader, Boolean, Int64, Int64)
public void Read(AssetBinaryReader reader, bool includeHeader, long leng1, long leng2)
Parameters
reader
AssetBinaryReader
includeHeader
Boolean
leng1
Int64
leng2
Int64
Write(AssetBinaryWriter, Boolean)
public int Write(AssetBinaryWriter writer, bool includeHeader)
Parameters
writer
AssetBinaryWriter
includeHeader
Boolean
Returns
ToString()
public string ToString()
Returns
FromString(String[], UAsset)
public void FromString(String[] d, UAsset asset)
Parameters
d
String[]
asset
UAsset