|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.resources.MultipartMD3ModelResourceRequest
public class MultipartMD3ModelResourceRequest
This is a ResourceRequest for an MD3 Model from multiple parts loaded with ModelLoader.
| Constructor Summary | |
|---|---|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName)
Creates a new ModelResourceRequest. |
|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
float scale)
Creates a new ModelResourceRequest. |
|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL)
Creates a new ModelResourceRequest. |
|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags)
Creates a new ModelResourceRequest. |
|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
float scale)
Creates a new ModelResourceRequest. |
|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin)
Creates a new ModelResourceRequest. |
|
MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin,
float scale)
Creates a new ModelResourceRequest. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBagName()
|
java.net.URL |
getBaseURL()
|
int |
getLoadFlags()
|
java.lang.String |
getName()
|
float |
getScale()
|
java.lang.String |
getSkin()
|
java.lang.Object |
loadResource(ResourceLocator resLoc,
ResourceBag resBag)
Loads the resource and stores it into the ResourceBag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin,
float scale)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Modelskin - the name of the skin to be loadedscale - the scale to load the Model with
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Modelskin - the name of the skin to be loaded
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
float scale)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Modelscale - the scale to load the Model with
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL,
int flags)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Model
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
java.net.URL baseURL)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName,
float scale)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagscale - the scale to load the Model with
public MultipartMD3ModelResourceRequest(java.lang.String nameLegs,
java.lang.String mountTorso,
java.lang.String nameTorso,
java.lang.String mountHead,
java.lang.String nameHead,
java.lang.String bagName)
nameLegs - the name of the requested Model resourcemountTorso - the name of the requested Model resourcenameTorso - the name of the requested Model resourcemountHead - the name of the requested Model resourcenameHead - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBag| Method Detail |
|---|
public final java.lang.String getName()
getName in interface org.jagatoo.datatypes.NamedObjectgetName in interface ResourceRequestpublic final java.lang.String getBagName()
getBagName in interface ResourceRequestpublic final java.net.URL getBaseURL()
public final java.lang.String getSkin()
public final float getScale()
public final int getLoadFlags()
public java.lang.Object loadResource(ResourceLocator resLoc,
ResourceBag resBag)
throws java.io.IOException
ResourceBag.
loadResource in interface ResourceRequestresLoc - the ResourceLocator to load resources fromresBag - the ResourceBag to store the loaded resource to
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||