glsl_newparam.java
来自「java 3d game jme 工程开发源代码」· Java 代码 · 共 1,940 行 · 第 1/5 页
JAVA
1,940 行
public static int getint3MaxCount() {
return 1;
}
public int getint3Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3");
}
public boolean hasint3() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3");
}
public glsl_int3 newint3() {
return new glsl_int3();
}
public glsl_int3 getint3At(int index) throws Exception {
return new glsl_int3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index)));
}
public org.w3c.dom.Node getStartingint3Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3" );
}
public org.w3c.dom.Node getAdvancedint3Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", curNode );
}
public glsl_int3 getint3ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new glsl_int3(getDomNodeValue(curNode));
}
public glsl_int3 getint3() throws Exception
{
return getint3At(0);
}
public void removeint3At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index);
}
public void removeint3() {
removeint3At(0);
}
public org.w3c.dom.Node addint3(glsl_int3 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", value.toString());
}
public org.w3c.dom.Node addint3(String value) throws Exception {
return addint3(new glsl_int3(value));
}
public void insertint3At(glsl_int3 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index, value.toString());
}
public void insertint3At(String value, int index) throws Exception {
insertint3At(new glsl_int3(value), index);
}
public void replaceint3At(glsl_int3 value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index, value.toString());
}
public void replaceint3At(String value, int index) throws Exception {
replaceint3At(new glsl_int3(value), index);
}
public static int getint4MinCount() {
return 1;
}
public static int getint4MaxCount() {
return 1;
}
public int getint4Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4");
}
public boolean hasint4() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4");
}
public glsl_int4 newint4() {
return new glsl_int4();
}
public glsl_int4 getint4At(int index) throws Exception {
return new glsl_int4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", index)));
}
public org.w3c.dom.Node getStartingint4Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4" );
}
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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?