C# Class ObjModelLoader, Unity-Obj-Loader

Inheritance: MonoBehaviour
Mostra file Open project: qinyuanpei/Unity-Obj-Loader Class Usage Examples

Public Methods

Method Description
LoadFormFile ( string modelFilePath, string texturePath ) : void

从本地文件中加载一个.obj模型

LoadFormWWW ( string modelFilePath, string textureFilePath ) : void

从网络加载一个.obj模型

Start ( ) : void

Method Details

LoadFormFile() public method

从本地文件中加载一个.obj模型
public LoadFormFile ( string modelFilePath, string texturePath ) : void
modelFilePath string 模型文件路径
texturePath string 贴图文件路径
return void

LoadFormWWW() public method

从网络加载一个.obj模型
public LoadFormWWW ( string modelFilePath, string textureFilePath ) : void
modelFilePath string
textureFilePath string
return void

Start() public method

public Start ( ) : void
return void