C# 클래스 SharpMod.Model

A class to manage models
파일 보기 프로젝트 열기: txdv/sharpmod

공개 메소드들

메소드 설명
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

메소드 상세

GetModel() 공개 정적인 메소드

public static GetModel ( Entity entity ) : Model
entity Entity
리턴 Model

GetPointer() 공개 정적인 메소드

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

GetPointer() 공개 정적인 메소드

public static GetPointer ( IntPtr entity ) : IntPtr
entity System.IntPtr
리턴 System.IntPtr

Index() 공개 정적인 메소드

Gets the index of a loaded Model
public static Index ( string filename ) : int
filename string /// A ///
리턴 int

Model() 공개 메소드

public Model ( IntPtr model ) : System
model System.IntPtr
리턴 System

Precache() 공개 정적인 메소드

Precaches a mode
public static Precache ( string filename ) : int
filename string /// A string represeting the filename ///
리턴 int