C# Class Fusion.Pipeline.AssetAttribute

Asset attribute. All asset types should me declared with AssetAttribute
Inheritance: System.Attribute
Datei anzeigen Open project: demiurghg/FusionEngine

Public Methods

Method Description
AcceptFile ( string pathToFile ) : bool

Checks whether file extension meets provided extensions.

AssetAttribute ( string category, string nicename ) : System

AssetAttribute ( string category, string nicename, string extensions ) : System

Method Details

AcceptFile() public method

Checks whether file extension meets provided extensions.
public AcceptFile ( string pathToFile ) : bool
pathToFile string
return bool

AssetAttribute() public method

public AssetAttribute ( string category, string nicename ) : System
category string
nicename string Asset's type nice name, e.g. "Texture Asset" or "Monster Description"
return System

AssetAttribute() public method

public AssetAttribute ( string category, string nicename, string extensions ) : System
category string
nicename string Asset's type nice name, e.g. "Texture Asset" or "Monster Description"
extensions string Source file extensions: "*.tga;*.jpg;*.bmp"
return System