com.threerings.opengl.model.config
Class ArticulatedConfig.MeshNode

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

public static class ArticulatedConfig.MeshNode
extends ArticulatedConfig.Node

A node containing a mesh.


Field Summary
 CollisionMesh collision
          The collision mesh.
 ModelConfig.VisibleMesh visible
          The node's visible mesh.
 
Fields inherited from class com.threerings.opengl.model.config.ArticulatedConfig.Node
children, invRefTransform, name, transform
 
Constructor Summary
ArticulatedConfig.MeshNode()
           
ArticulatedConfig.MeshNode(String name, Transform3D transform, ArticulatedConfig.Node[] children, ModelConfig.VisibleMesh visible, CollisionMesh collision)
           
 
Method Summary
 Box getBounds()
          Returns the bounds of the node's geometry.
 void getTextures(TreeSet<String> textures)
          Populates the supplied set with the names of all textures.
 void getTextureTagPairs(TreeSet<ComparableTuple<String,String>> pairs)
          Populates the supplied set with the names of all texture/tag pairs.
 
Methods inherited from class com.threerings.opengl.model.config.ArticulatedConfig.Node
getArticulatedNodes, getNames, updateRefTransforms
 
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

visible

public ModelConfig.VisibleMesh visible
The node's visible mesh.


collision

public CollisionMesh collision
The collision mesh.

Constructor Detail

ArticulatedConfig.MeshNode

public ArticulatedConfig.MeshNode(String name,
                                  Transform3D transform,
                                  ArticulatedConfig.Node[] children,
                                  ModelConfig.VisibleMesh visible,
                                  CollisionMesh collision)

ArticulatedConfig.MeshNode

public ArticulatedConfig.MeshNode()
Method Detail

getTextures

public void getTextures(TreeSet<String> textures)
Description copied from class: ArticulatedConfig.Node
Populates the supplied set with the names of all textures.

Overrides:
getTextures in class ArticulatedConfig.Node

getTextureTagPairs

public void getTextureTagPairs(TreeSet<ComparableTuple<String,String>> pairs)
Description copied from class: ArticulatedConfig.Node
Populates the supplied set with the names of all texture/tag pairs.

Overrides:
getTextureTagPairs in class ArticulatedConfig.Node

getBounds

public Box getBounds()
Description copied from class: ArticulatedConfig.Node
Returns the bounds of the node's geometry.

Overrides:
getBounds in class ArticulatedConfig.Node


Copyright © 2011. All Rights Reserved.