java.lang.Object
com.ardor3d.extension.model.collada.jdom.data.SkinData
All Implemented Interfaces:
Savable

public class SkinData extends Object implements Savable
Data class used to hold references to useful objects created during parsing of a single Collada skin tag.
  • Constructor Details

    • SkinData

      public SkinData(String name)
      Construct a new SkinData object.
      Parameters:
      name - The name for our skin data store. Should be in the format [controller name][ : ][instance controller name]. The names of each element should be first the name attribute, if present, or second their sid/id, or blank if neither are specified. The " : " should be left out if one or both names are blank. If both names are blank, empty string should be used.
  • Method Details

    • setPose

      public void setPose(SkeletonPose pose)
    • getPose

      public SkeletonPose getPose()
      Returns:
      the skeletal pose created for this instance of skin. If there are multiple skinned meshes parsed as part of this skin, they will all share this same pose.
    • setSkinBaseNode

      public void setSkinBaseNode(Node skinBaseNode)
    • getSkinBaseNode

      public Node getSkinBaseNode()
      Returns:
      the Node created to hold all SkinnedMesh objects created when parsing this skin.
    • getSkins

      public List<SkinnedMesh> getSkins()
    • getName

      public String getName()
      Returns:
      name
      See Also:
    • getClassTag

      public Class<? extends SkinData> getClassTag()
      Specified by:
      getClassTag in interface Savable
    • read

      public void read(InputCapsule capsule) throws IOException
      Specified by:
      read in interface Savable
      Throws:
      IOException
    • write

      public void write(OutputCapsule capsule) throws IOException
      Specified by:
      write in interface Savable
      Throws:
      IOException
    • initSavable

      public static SkinData initSavable()