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

📄 glsl_setparam.java

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

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

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

	public glsl_int4 getint4() throws Exception 
 {
		return getint4At(0);
	}

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

	public void removeint4() {
		removeint4At(0);
	}

	public org.w3c.dom.Node addint4(glsl_int4 value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertint4At(String value, int index) throws Exception {
		insertint4At(new glsl_int4(value), index);
	}

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

	public void replaceint4At(String value, int index) throws Exception {
		replaceint4At(new glsl_int4(value), index);
	}

	public static int getsurfaceMinCount() {
		return 1;
	}

	public static int getsurfaceMaxCount() {
		return 1;
	}

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

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

	public glsl_surface_type newsurface() {
		return new glsl_surface_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "surface"));
	}

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

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

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

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

	public glsl_surface_type getsurface() throws Exception 
 {
		return getsurfaceAt(0);
	}

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

	public void removesurface() {
		removesurfaceAt(0);
	}

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

	public void insertsurfaceAt(glsl_surface_type value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "surface", index, value);
	}

	public void replacesurfaceAt(glsl_surface_type value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "surface", index, value);
	}

	public static int getsampler1DMinCount() {
		return 1;
	}

	public static int getsampler1DMaxCount() {
		return 1;
	}

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

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

	public gl_sampler1D newsampler1D() {
		return new gl_sampler1D(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sampler1D"));
	}

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

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

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

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

	public gl_sampler1D getsampler1D() throws Exception 
 {
		return getsampler1DAt(0);
	}

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

	public void removesampler1D() {
		removesampler1DAt(0);
	}

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

	public void insertsampler1DAt(gl_sampler1D value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler1D", index, value);
	}

	public void replacesampler1DAt(gl_sampler1D value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler1D", index, value);
	}

	public static int getsampler2DMinCount() {
		return 1;
	}

	public static int getsampler2DMaxCount() {
		return 1;
	}

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

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

	public gl_sampler2D newsampler2D() {
		return new gl_sampler2D(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sampler2D"));
	}

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

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

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

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

	public gl_sampler2D getsampler2D() throws Exception 
 {
		return getsampler2DAt(0);
	}

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

	public void removesampler2D() {
		removesampler2DAt(0);
	}

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

	public void insertsampler2DAt(gl_sampler2D value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler2D", index, value);
	}

	public void replacesampler2DAt(gl_sampler2D value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler2D", index, value);
	}

	public static int getsampler3DMinCount() {
		return 1;
	}

	public static int getsampler3DMaxCount() {
		return 1;
	}

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

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

	public gl_sampler3D newsampler3D() {
		return new gl_sampler3D(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sampler3D"));
	}

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

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

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

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

	public gl_sampler3D getsampler3D() throws Exception 
 {
		return getsampler3DAt(0);
	}

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

	public void removesampler3D() {
		removesampler3DAt(0);
	}

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

	public void insertsampler3DAt(gl_sampler3D value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler3D", index, value);
	}

	public void replacesampler3DAt(gl_sampler3D value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler3D", index, value);
	}

	public static int getsamplerCUBEMinCount() {
		return 1;
	}

	public static int getsamplerCUBEMaxCount() {
		return 1;
	}

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

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

	public gl_samplerCUBE newsamplerCUBE() {
		return new gl_samplerCUBE(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE"));
	}

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

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

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

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

	public gl_samplerCUBE getsamplerCUBE() throws Exception 
 {
		return getsamplerCUBEAt(0);
	}

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

	public void removesamplerCUBE() {
		removesamplerCUBEAt(0);
	}

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

	public void insertsamplerCUBEAt(gl_samplerCUBE value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", index, value);
	}

	public void replacesamplerCUBEAt(gl_samplerCUBE value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", index, value);
	}

	public static int getsamplerRECTMinCount() {
		return 1;
	}

	public static int getsamplerRECTMaxCount() {
		return 1;
	}

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

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

	public gl_samplerRECT newsamplerRECT() {
		return new gl_samplerRECT(domNode.getOwnerDocument(

⌨️ 快捷键说明

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