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

📄 glsl_setparam.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
		return new fx_annotate_common(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", index));
	}

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

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

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

	public fx_annotate_common getannotate() throws Exception 
 {
		return getannotateAt(0);
	}

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

	public void removeannotate() {
		while (hasannotate())
			removeannotateAt(0);
	}

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

	public void insertannotateAt(fx_annotate_common value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);
	}

	public void replaceannotateAt(fx_annotate_common value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);
	}

	public static int getboolMinCount() {
		return 1;
	}

	public static int getboolMaxCount() {
		return 1;
	}

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

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

	public glsl_bool newbool() {
		return new glsl_bool();
	}

	public glsl_bool getboolAt(int index) throws Exception {
		return new glsl_bool(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index)));
	}

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

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

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

	public glsl_bool getbool() throws Exception 
 {
		return getboolAt(0);
	}

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

	public void removebool() {
		removeboolAt(0);
	}

	public org.w3c.dom.Node addbool(glsl_bool value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", value.toString());
	}

	public org.w3c.dom.Node addbool(String value) throws Exception {
		return addbool(new glsl_bool(value));
	}

	public void insertboolAt(glsl_bool value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());
	}

	public void insertboolAt(String value, int index) throws Exception {
		insertboolAt(new glsl_bool(value), index);
	}

	public void replaceboolAt(glsl_bool value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());
	}

	public void replaceboolAt(String value, int index) throws Exception {
		replaceboolAt(new glsl_bool(value), index);
	}

	public static int getbool2MinCount() {
		return 1;
	}

	public static int getbool2MaxCount() {
		return 1;
	}

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

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

	public glsl_bool2 newbool2() {
		return new glsl_bool2();
	}

	public glsl_bool2 getbool2At(int index) throws Exception {
		return new glsl_bool2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index)));
	}

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

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

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

	public glsl_bool2 getbool2() throws Exception 
 {
		return getbool2At(0);
	}

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

	public void removebool2() {
		removebool2At(0);
	}

	public org.w3c.dom.Node addbool2(glsl_bool2 value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", value.toString());
	}

	public org.w3c.dom.Node addbool2(String value) throws Exception {
		return addbool2(new glsl_bool2(value));
	}

	public void insertbool2At(glsl_bool2 value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index, value.toString());
	}

	public void insertbool2At(String value, int index) throws Exception {
		insertbool2At(new glsl_bool2(value), index);
	}

	public void replacebool2At(glsl_bool2 value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index, value.toString());
	}

	public void replacebool2At(String value, int index) throws Exception {
		replacebool2At(new glsl_bool2(value), index);
	}

	public static int getbool3MinCount() {
		return 1;
	}

	public static int getbool3MaxCount() {
		return 1;
	}

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

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

	public glsl_bool3 newbool3() {
		return new glsl_bool3();
	}

	public glsl_bool3 getbool3At(int index) throws Exception {
		return new glsl_bool3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index)));
	}

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

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

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

	public glsl_bool3 getbool3() throws Exception 
 {
		return getbool3At(0);
	}

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

	public void removebool3() {
		removebool3At(0);
	}

	public org.w3c.dom.Node addbool3(glsl_bool3 value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", value.toString());
	}

	public org.w3c.dom.Node addbool3(String value) throws Exception {
		return addbool3(new glsl_bool3(value));
	}

	public void insertbool3At(glsl_bool3 value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index, value.toString());
	}

	public void insertbool3At(String value, int index) throws Exception {
		insertbool3At(new glsl_bool3(value), index);
	}

	public void replacebool3At(glsl_bool3 value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index, value.toString());
	}

	public void replacebool3At(String value, int index) throws Exception {
		replacebool3At(new glsl_bool3(value), index);
	}

	public static int getbool4MinCount() {
		return 1;
	}

	public static int getbool4MaxCount() {
		return 1;
	}

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

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

	public glsl_bool4 newbool4() {
		return new glsl_bool4();
	}

	public glsl_bool4 getbool4At(int index) throws Exception {
		return new glsl_bool4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index)));
	}

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

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

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

	public glsl_bool4 getbool4() throws Exception 
 {
		return getbool4At(0);
	}

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

	public void removebool4() {
		removebool4At(0);
	}

	public org.w3c.dom.Node addbool4(glsl_bool4 value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", value.toString());
	}

	public org.w3c.dom.Node addbool4(String value) throws Exception {
		return addbool4(new glsl_bool4(value));
	}

	public void insertbool4At(glsl_bool4 value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index, value.toString());
	}

	public void insertbool4At(String value, int index) throws Exception {
		insertbool4At(new glsl_bool4(value), index);
	}

	public void replacebool4At(glsl_bool4 value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index, value.toString());
	}

	public void replacebool4At(String value, int index) throws Exception {
		replacebool4At(new glsl_bool4(value), index);
	}

	public static int getfloat2MinCount() {
		return 1;
	}

	public static int getfloat2MaxCount() {
		return 1;
	}

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

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

	public glsl_float newfloat2() {
		return new glsl_float();
	}

	public glsl_float getfloat2At(int index) throws Exception {
		return new glsl_float(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float", index)));
	}

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

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

⌨️ 快捷键说明

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