Class SkinData
java.lang.Object
com.ardor3d.extension.model.collada.jdom.data.SkinData
- All Implemented Interfaces:
Savable
Data class used to hold references to useful objects created during parsing of a single Collada skin tag.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getPose()
getSkins()
static SkinData
void
read
(InputCapsule capsule) void
setPose
(SkeletonPose pose) void
setSkinBaseNode
(Node skinBaseNode) void
write
(OutputCapsule capsule)
-
Constructor Details
-
SkinData
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
-
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
-
getSkinBaseNode
- Returns:
- the Node created to hold all SkinnedMesh objects created when parsing this skin.
-
getSkins
-
getName
- Returns:
- name
- See Also:
-
getClassTag
- Specified by:
getClassTag
in interfaceSavable
-
read
- Specified by:
read
in interfaceSavable
- Throws:
IOException
-
write
- Specified by:
write
in interfaceSavable
- Throws:
IOException
-
initSavable
-