Table of Contents

Interface ILunyAsset

Namespace
Luny.Engine.Bridge
Assembly
Luny.dll

Base interface for all engine-native assets.

public interface ILunyAsset

Properties

AssetID

The unique identifier for this asset.

LunyAssetId AssetID { get; }

Property Value

LunyAssetId

AssetPath

The path used to load this asset.

LunyAssetPath AssetPath { get; }

Property Value

LunyAssetPath

NativeAsset

The native asset reference.

object NativeAsset { get; }

Property Value

object

Methods

Cast<T>()

Cast the native asset to a given type. Returns null on type mismatch.

T Cast<T>() where T : class

Returns

T

Type Parameters

T