artofillusion
Class TextureMappingDialog
java.lang.Object
BDialog
artofillusion.TextureMappingDialog
public class TextureMappingDialog
- extends BDialog
This class implements the dialog box which is used to choose texture mappings for objects.
It presents a list of all mappings which can be used with the current object and material,
and allows the user to select one.
Constructor Summary |
TextureMappingDialog(BFrame parent,
Object3D obj,
int layer)
Create a dialog for editing the texture mapping for a particular object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextureMappingDialog
public TextureMappingDialog(BFrame parent,
Object3D obj,
int layer)
- Create a dialog for editing the texture mapping for a particular object. If the object
has a layered texture, then layer is the layer number to edit. Otherwise, layer is
ignored.
setPreviewMapping
public void setPreviewMapping(TextureMapping newmap)
- Set the texture mapping for the preview and, if necessary, copy over
texture coordinates.
Copyright © 1999-2011 by Peter Eastman.