com.threerings.opengl.model.config
Class ModelConfig.Imported.MaterialMapping
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.model.config.ModelConfig.Imported.MaterialMapping
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ModelConfig.Imported
public class ModelConfig.Imported.MaterialMapping
- extends DeepObject
- implements Exportable
Represents a mapping from texture name to material.
texture
@Editable(editor="choice",
hgroup="t")
public String texture
- The name of the texture.
tag
@Editable(hgroup="t")
public String tag
- The name of the tag.
material
@Editable(nullable=true)
public ConfigReference<MaterialConfig> material
- The material for unskinned meshes.
ModelConfig.Imported.MaterialMapping
public ModelConfig.Imported.MaterialMapping(String texture,
String tag,
String path)
ModelConfig.Imported.MaterialMapping
public ModelConfig.Imported.MaterialMapping()
getTextureOptions
public String[] getTextureOptions()
- Returns the options available for the texture field.
Copyright © 2011. All Rights Reserved.