C# Class SharpMod.Model

A class to manage models
Afficher le fichier Open project: txdv/sharpmod

Méthodes publiques

Méthode Description
GetModel ( Entity entity ) : Model
GetPointer ( Entity entity ) : IntPtr

Gets a model from an entity

GetPointer ( IntPtr entity ) : IntPtr
Index ( string filename ) : int

Gets the index of a loaded Model

Model ( IntPtr model ) : System
Precache ( string filename ) : int

Precaches a mode

Method Details

GetModel() public static méthode

public static GetModel ( Entity entity ) : Model
entity Entity
Résultat Model

GetPointer() public static méthode

Gets a model from an entity
public static GetPointer ( Entity entity ) : IntPtr
entity Entity /// Entity which holds the model ///
Résultat System.IntPtr

GetPointer() public static méthode

public static GetPointer ( IntPtr entity ) : IntPtr
entity System.IntPtr
Résultat System.IntPtr

Index() public static méthode

Gets the index of a loaded Model
public static Index ( string filename ) : int
filename string /// A ///
Résultat int

Model() public méthode

public Model ( IntPtr model ) : System
model System.IntPtr
Résultat System

Precache() public static méthode

Precaches a mode
public static Precache ( string filename ) : int
filename string /// A string represeting the filename ///
Résultat int