Expand description
This crate is used for parsing Unreal Engine uasset files
§Examples
§Reading an asset that doesn’t use bulk data
use std::fs::File;
use unreal_asset::{
Asset,
engine_version::EngineVersion,
};
let mut file = File::open("asset.uasset").unwrap();
let mut asset = Asset::new(file, None, EngineVersion::VER_UE4_23).unwrap();
println!("{:#?}", asset);
§Reading an asset that uses bulk data
use std::fs::File;
use unreal_asset::{
Asset,
engine_version::EngineVersion,
};
let mut file = File::open("asset.uasset").unwrap();
let mut bulk_file = File::open("asset.uexp").unwrap();
let mut asset = Asset::new(file, Some(bulk_file), EngineVersion::VER_UE4_23).unwrap();
println!("{:#?}", asset);
Modules§
- ac7
- AC7 Encryption
- asset
- Generic unreal asset traits Must be implemented for all unreal assets
- containers
- Various containers
- custom_
version - UAsset CustomVersion and a known list of them
- engine_
version - Unreal Engine version
- enums
- Various UAsset enums
- error
- All errors thrown by unreal_asset
- exports
- UAsset exports
- flags
- Various UAsset flags
- fproperty
- All of Unreal Engine FProperties
- kismet
- Kismet bytecode
- object_
version - Unreal object versions
- properties
- All UAsset properties
- reader
- Archive readers/writers
- registry
- Asset Registry
- types
- Unreal types
- unversioned
- Allows reading unversioned assets using mappings
- uproperty
- All of Unreal Engine UProperties
Macros§
- cast
- Cast a Property/Export to a more specific type
- impl_
property_ data_ trait - Default implementations for
PropertyDataTrait
- implement_
get - Implement
ExportNormalTrait
+ExportBaseTrait
for an export that contains aNormalExport
- optional_
guid - Read a property guid if reading with header
- optional_
guid_ write - Write a property guid if writing with header
- simple_
property_ write - Write a simple one-value property
Structs§
- Asset
- Unreal Engine uasset
- FEngine
Version - EngineVersion for an Asset
- Import
- Import struct for an Asset
- Parent
Class Info - Parent Class Info