Class AssetType
Asset types enum - used to identify type of assets.
This is not really necessary in C#, but exists to match the definition in the CPP side of it.
Inheritance
System.Object
AssetType
Namespace: BonEngineSharp.Defs
Assembly: BonEngineSharp.dll
Syntax
public sealed class AssetType : Enum
Fields
_Count
How many asset types we got.
Declaration
public const AssetType _Count
Field Value
| Type | Description |
|---|---|
| AssetType |
Config
Configuration file asset.
Declaration
public const AssetType Config
Field Value
| Type | Description |
|---|---|
| AssetType |
Effect
Effect asset, used to draw sprites with special effects.
Declaration
public const AssetType Effect
Field Value
| Type | Description |
|---|---|
| AssetType |
Font
Font asset, used to draw text.
Declaration
public const AssetType Font
Field Value
| Type | Description |
|---|---|
| AssetType |
Image
An image asset we can use for rendering.
Declaration
public const AssetType Image
Field Value
| Type | Description |
|---|---|
| AssetType |
Music
A long soundtrack asset, used for music.
Declaration
public const AssetType Music
Field Value
| Type | Description |
|---|---|
| AssetType |
Sound
Sound effect asset we can play as short sounds.
Declaration
public const AssetType Sound
Field Value
| Type | Description |
|---|---|
| AssetType |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |