⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 meshtype.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	}

	public boolean haspolygons() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons");
	}

	public polygonsType newpolygons() {
		return new polygonsType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "polygons"));
	}

	public polygonsType getpolygonsAt(int index) throws Exception {
		return new polygonsType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", index));
	}

	public org.w3c.dom.Node getStartingpolygonsCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons" );
	}

	public org.w3c.dom.Node getAdvancedpolygonsCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", curNode );
	}

	public polygonsType getpolygonsValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new polygonsType(curNode);
	}

	public polygonsType getpolygons() throws Exception 
 {
		return getpolygonsAt(0);
	}

	public void removepolygonsAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", index);
	}

	public void removepolygons() {
		removepolygonsAt(0);
	}

	public org.w3c.dom.Node addpolygons(polygonsType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "polygons", value);
	}

	public void insertpolygonsAt(polygonsType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polygons", index, value);
	}

	public void replacepolygonsAt(polygonsType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polygons", index, value);
	}

	public static int getpolylistMinCount() {
		return 1;
	}

	public static int getpolylistMaxCount() {
		return 1;
	}

	public int getpolylistCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist");
	}

	public boolean haspolylist() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist");
	}

	public polylistType newpolylist() {
		return new polylistType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "polylist"));
	}

	public polylistType getpolylistAt(int index) throws Exception {
		return new polylistType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", index));
	}

	public org.w3c.dom.Node getStartingpolylistCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist" );
	}

	public org.w3c.dom.Node getAdvancedpolylistCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", curNode );
	}

	public polylistType getpolylistValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new polylistType(curNode);
	}

	public polylistType getpolylist() throws Exception 
 {
		return getpolylistAt(0);
	}

	public void removepolylistAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", index);
	}

	public void removepolylist() {
		removepolylistAt(0);
	}

	public org.w3c.dom.Node addpolylist(polylistType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "polylist", value);
	}

	public void insertpolylistAt(polylistType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polylist", index, value);
	}

	public void replacepolylistAt(polylistType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polylist", index, value);
	}

	public static int gettrianglesMinCount() {
		return 1;
	}

	public static int gettrianglesMaxCount() {
		return 1;
	}

	public int gettrianglesCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles");
	}

	public boolean hastriangles() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles");
	}

	public trianglesType newtriangles() {
		return new trianglesType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "triangles"));
	}

	public trianglesType gettrianglesAt(int index) throws Exception {
		return new trianglesType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", index));
	}

	public org.w3c.dom.Node getStartingtrianglesCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles" );
	}

	public org.w3c.dom.Node getAdvancedtrianglesCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", curNode );
	}

	public trianglesType gettrianglesValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new trianglesType(curNode);
	}

	public trianglesType gettriangles() throws Exception 
 {
		return gettrianglesAt(0);
	}

	public void removetrianglesAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", index);
	}

	public void removetriangles() {
		removetrianglesAt(0);
	}

	public org.w3c.dom.Node addtriangles(trianglesType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "triangles", value);
	}

	public void inserttrianglesAt(trianglesType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "triangles", index, value);
	}

	public void replacetrianglesAt(trianglesType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "triangles", index, value);
	}

	public static int gettrifansMinCount() {
		return 1;
	}

	public static int gettrifansMaxCount() {
		return 1;
	}

	public int gettrifansCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans");
	}

	public boolean hastrifans() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans");
	}

	public trifansType newtrifans() {
		return new trifansType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "trifans"));
	}

	public trifansType gettrifansAt(int index) throws Exception {
		return new trifansType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", index));
	}

	public org.w3c.dom.Node getStartingtrifansCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans" );
	}

	public org.w3c.dom.Node getAdvancedtrifansCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", curNode );
	}

	public trifansType gettrifansValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new trifansType(curNode);
	}

	public trifansType gettrifans() throws Exception 
 {
		return gettrifansAt(0);
	}

	public void removetrifansAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", index);
	}

	public void removetrifans() {
		removetrifansAt(0);
	}

	public org.w3c.dom.Node addtrifans(trifansType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "trifans", value);
	}

	public void inserttrifansAt(trifansType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "trifans", index, value);
	}

	public void replacetrifansAt(trifansType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "trifans", index, value);
	}

	public static int gettristripsMinCount() {
		return 1;
	}

	public static int gettristripsMaxCount() {
		return 1;
	}

	public int gettristripsCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips");
	}

	public boolean hastristrips() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips");
	}

	public tristripsType newtristrips() {
		return new tristripsType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "tristrips"));
	}

	public tristripsType gettristripsAt(int index) throws Exception {
		return new tristripsType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", index));
	}

	public org.w3c.dom.Node getStartingtristripsCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips" );
	}

	public org.w3c.dom.Node getAdvancedtristripsCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", curNode );
	}

	public tristripsType gettristripsValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new tristripsType(curNode);
	}

	public tristripsType gettristrips() throws Exception 
 {
		return gettristripsAt(0);
	}

	public void removetristripsAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", index);
	}

	public void removetristrips() {
		removetristripsAt(0);
	}

	public org.w3c.dom.Node addtristrips(tristripsType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "tristrips", value);
	}

	public void inserttristripsAt(tristripsType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tristrips", index, value);
	}

	public void replacetristripsAt(tristripsType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tristrips", index, value);
	}

	public static int getextraMinCount() {
		return 0;
	}

	public static int getextraMaxCount() {
		return Integer.MAX_VALUE;
	}

	public int getextraCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
	}

	public boolean hasextra() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
	}

	public extraType newextra() {
		return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));
	}

	public extraType getextraAt(int index) throws Exception {
		return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));
	}

	public org.w3c.dom.Node getStartingextraCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
	}

	public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );
	}

	public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new extraType(curNode);
	}

	public extraType getextra() throws Exception 
 {
		return getextraAt(0);
	}

	public void removeextraAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);
	}

	public void removeextra() {
		while (hasextra())
			removeextraAt(0);
	}

	public org.w3c.dom.Node addextra(extraType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);
	}

	public void insertextraAt(extraType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
	}

	public void replaceextraAt(extraType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -