OapAssetFileProvider
- Namespace: Turian.Engine.Core
- Source File: OapAssetFileProvider.cs
Provides read access to asset content stored inside an Open Asset Package (.oap), including any overlay packages mounted on top of it. The asset is located by the Guid encoded in its content key, falling back to the content key as a virtual path.
Properties
OapFilePath
(string) = oapFilePath: Gets the absolute path to the base package file.
ContentKey
(string) = contentKey
StorageKind
(AssetStorageKind)
Exists
(bool)
Length
(long?)
Public Methods
GetAssetStream
public Stream GetAssetStream()
Returns: Stream