Struct AssetInitData
Flax asset header with data.
Assembly: FlaxEngine.dll
File: Engine/Content/Storage/AssetHeader.h
Syntax
public struct AssetInitData
Fields
CustomData
The custom asset data (should be small, for eg. texture description structure).
Declaration
public BytesContainer CustomData
Field Value
BytesContainer
|
Dependencies
Asset dependencies list used by the asset for tracking (eg. material functions used by material asset). The pair of asset ID and cached file edit time (for tracking modification).
Declaration
public Array<Pair<Guid, DateTime>> Dependencies
Field Value
Array<Pair<Guid, DateTime>>
|
Header
Metadata
The asset metadata information. Stored in a Json format.
Declaration
public BytesContainer Metadata
Field Value
BytesContainer
|
SerializedVersion
The serialized asset version
Declaration
public uint32 SerializedVersion = 0
Field Value
uint32
|
Methods
GetHashCode()
Gets the hash code.
Declaration
public uint32 GetHashCode() const
Returns
uint32
|