passtype2.java

来自「java 3d game jme 工程开发源代码」· Java 代码 · 共 1,587 行 · 第 1/5 页

JAVA
1,587
字号
			return new gles_rendertarget_common(getDomNodeValue(curNode));
	}

	public gles_rendertarget_common getstencil_target() throws Exception 
 {
		return getstencil_targetAt(0);
	}

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

	public void removestencil_target() {
		removestencil_targetAt(0);
	}

	public org.w3c.dom.Node addstencil_target(gles_rendertarget_common value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertstencil_targetAt(String value, int index) throws Exception {
		insertstencil_targetAt(new gles_rendertarget_common(value), index);
	}

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

	public void replacestencil_targetAt(String value, int index) throws Exception {
		replacestencil_targetAt(new gles_rendertarget_common(value), index);
	}

	public static int getcolor_clearMinCount() {
		return 0;
	}

	public static int getcolor_clearMaxCount() {
		return 1;
	}

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

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

	public fx_color_common newcolor_clear() {
		return new fx_color_common();
	}

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

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

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

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

	public fx_color_common getcolor_clear() throws Exception 
 {
		return getcolor_clearAt(0);
	}

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

	public void removecolor_clear() {
		removecolor_clearAt(0);
	}

	public org.w3c.dom.Node addcolor_clear(fx_color_common value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertcolor_clearAt(String value, int index) throws Exception {
		insertcolor_clearAt(new fx_color_common(value), index);
	}

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

	public void replacecolor_clearAt(String value, int index) throws Exception {
		replacecolor_clearAt(new fx_color_common(value), index);
	}

	public static int getdepth_clearMinCount() {
		return 0;
	}

	public static int getdepth_clearMaxCount() {
		return 1;
	}

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

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

	public float2 newdepth_clear() {
		return new float2();
	}

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

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

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

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

	public float2 getdepth_clear() throws Exception 
 {
		return getdepth_clearAt(0);
	}

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

	public void removedepth_clear() {
		removedepth_clearAt(0);
	}

	public org.w3c.dom.Node adddepth_clear(float2 value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertdepth_clearAt(String value, int index) throws Exception {
		insertdepth_clearAt(new float2(value), index);
	}

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

	public void replacedepth_clearAt(String value, int index) throws Exception {
		replacedepth_clearAt(new float2(value), index);
	}

	public static int getstencil_clearMinCount() {
		return 0;
	}

	public static int getstencil_clearMaxCount() {
		return 1;
	}

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

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

	public SchemaByte newstencil_clear() {
		return new SchemaByte();
	}

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

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

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

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

	public SchemaByte getstencil_clear() throws Exception 
 {
		return getstencil_clearAt(0);
	}

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

	public void removestencil_clear() {
		removestencil_clearAt(0);
	}

	public org.w3c.dom.Node addstencil_clear(SchemaByte value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertstencil_clearAt(String value, int index) throws Exception {
		insertstencil_clearAt(new SchemaByte(value), index);
	}

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

	public void replacestencil_clearAt(String value, int index) throws Exception {
		replacestencil_clearAt(new SchemaByte(value), index);
	}

	public static int getdrawMinCount() {
		return 0;
	}

	public static int getdrawMaxCount() {
		return 1;
	}

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

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

	public fx_draw_common newdraw() {
		return new fx_draw_common();
	}

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

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

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

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

⌨️ 快捷键说明

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