public StructQuat(ArkArchive archive, ArkName structType) : base(structType) { X = archive.GetFloat(); Y = archive.GetFloat(); Z = archive.GetFloat(); W = archive.GetFloat(); }
public StructLinearColor(ArkArchive archive, ArkName structType) : base(structType) { R = archive.GetFloat(); G = archive.GetFloat(); B = archive.GetFloat(); A = archive.GetFloat(); }
public ArkArrayFloat(ArkArchive archive, int dataSize) { var size = archive.GetInt(); for (int n = 0; n < size; n++) { Add(archive.GetFloat()); } }
public PropertyFloat(ArkArchive archive, PropertyArgs args, bool propertyIsExcluded = false) : base(archive, args, propertyIsExcluded) { if (propertyIsExcluded) { archive.Position += 4; return; } _value = archive.GetFloat(); }
//public long Size //{ // get // { // return Float.BYTES * 6; // } //} public void read(ArkArchive archive) { X = archive.GetFloat(); Y = archive.GetFloat(); Z = archive.GetFloat(); Pitch = archive.GetFloat(); Yaw = archive.GetFloat(); Roll = archive.GetFloat(); }
public StructVector2d(ArkArchive archive, ArkName structType) : base(structType) { X = archive.GetFloat(); Y = archive.GetFloat(); }
public PropertyFloat(ArkArchive archive, PropertyArgs args) : base(archive, args) { _value = archive.GetFloat(); }