本文整理汇总了Java中com.badlogic.gdx.assets.loaders.ModelLoader.ModelParameters方法的典型用法代码示例。如果您正苦于以下问题:Java ModelLoader.ModelParameters方法的具体用法?Java ModelLoader.ModelParameters怎么用?Java ModelLoader.ModelParameters使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.badlogic.gdx.assets.loaders.ModelLoader
的用法示例。
在下文中一共展示了ModelLoader.ModelParameters方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: GameScene
import com.badlogic.gdx.assets.loaders.ModelLoader; //导入方法依赖的package包/类
public GameScene(ModelLoader.ModelParameters modelParameters,
TextureLoader.TextureParameter textureParameter,
ParticleEffectLoader.ParticleEffectLoadParameter pfxParameter,
String pfxPath, String modelPath, String modelExt, ObjectMap<String, GameObjectBlueprint> sharedBlueprints) {
this.sharedBlueprints = sharedBlueprints;
this.assets = new BlenderAssetManager(modelParameters, textureParameter, pfxParameter,
pfxPath, modelPath, modelExt);
}
示例2: GameSceneManager
import com.badlogic.gdx.assets.loaders.ModelLoader; //导入方法依赖的package包/类
public GameSceneManager(ModelLoader.ModelParameters modelParameters,
TextureLoader.TextureParameter textureParameter,
ParticleEffectLoader.ParticleEffectLoadParameter pfxParameter,
String pfxPath, String modelPath, String modelExt) {
this.modelPath = modelPath;
this.modelExt = modelExt;
this.pfxPath = pfxPath;
this.modelParameters = modelParameters;
this.textureParameter = textureParameter;
this.pfxParameter = pfxParameter;
}
示例3: BlenderAssetManager
import com.badlogic.gdx.assets.loaders.ModelLoader; //导入方法依赖的package包/类
public BlenderAssetManager(
ModelLoader.ModelParameters modelParameters,
TextureLoader.TextureParameter textureParameter,
ParticleEffectLoader.ParticleEffectLoadParameter pfxParameter,
String pfxPath, String modelPath, String modelExt) {
this.modelExt = modelExt;
this.modelPath = modelPath;
this.pfxPath = pfxPath;
this.modelParameters = modelParameters;
this.textureParameter = textureParameter;
this.pfxParameter = pfxParameter;
}
示例4: loadModelData
import com.badlogic.gdx.assets.loaders.ModelLoader; //导入方法依赖的package包/类
@Override
public ModelData loadModelData(FileHandle fileHandle, ModelLoader.ModelParameters parameters) {
return parseModel(fileHandle);
}
示例5: loadModelData
import com.badlogic.gdx.assets.loaders.ModelLoader; //导入方法依赖的package包/类
@Override
public ModelData loadModelData (FileHandle fileHandle, ModelLoader.ModelParameters parameters) {
return parseModel(fileHandle);
}