C# Class Fusion.Pipeline.AssetAttribute

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

Méthodes publiques

Méthode 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 méthode

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

AssetAttribute() public méthode

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

AssetAttribute() public méthode

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"
Résultat System