com.threerings.opengl.model.config
Class ModelConfig.MeshSet

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ModelConfig.MeshSet
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ModelConfig

public static class ModelConfig.MeshSet
extends DeepObject
implements Exportable

Contains a set of meshes.


Field Summary
 Box bounds
          The bounds of the meshes.
 CollisionMesh collision
          The collision mesh.
 ModelConfig.VisibleMesh[] visible
          The visible meshes.
 
Constructor Summary
ModelConfig.MeshSet()
           
ModelConfig.MeshSet(ModelConfig.VisibleMesh[] visible, CollisionMesh collision)
           
 
Method Summary
 void getTextures(TreeSet<String> textures)
          Populates the supplied set with the names of all referenced textures.
 void getTextureTagPairs(TreeSet<ComparableTuple<String,String>> pairs)
          Populates the supplied set with the names of all referenced texture/tag pairs.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

bounds

public Box bounds
The bounds of the meshes.


visible

public ModelConfig.VisibleMesh[] visible
The visible meshes.


collision

public CollisionMesh collision
The collision mesh.

Constructor Detail

ModelConfig.MeshSet

public ModelConfig.MeshSet(ModelConfig.VisibleMesh[] visible,
                           CollisionMesh collision)

ModelConfig.MeshSet

public ModelConfig.MeshSet()
Method Detail

getTextures

public void getTextures(TreeSet<String> textures)
Populates the supplied set with the names of all referenced textures.


getTextureTagPairs

public void getTextureTagPairs(TreeSet<ComparableTuple<String,String>> pairs)
Populates the supplied set with the names of all referenced texture/tag pairs.



Copyright © 2011. All Rights Reserved.