📄 glsl_newarray_type.java
字号:
public glsl_int getint2At(int index) throws Exception {
return new glsl_int(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index)));
}
public org.w3c.dom.Node getStartingint2Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int" );
}
public org.w3c.dom.Node getAdvancedint2Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int", curNode );
}
public glsl_int getint2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new glsl_int(getDomNodeValue(curNode));
}
public glsl_int getint2() throws Exception
{
return getint2At(0);
}
public void removeint2At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index);
}
public void removeint2() {
removeint2At(0);
}
public org.w3c.dom.Node addint2(glsl_int value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", value.toString());
}
public org.w3c.dom.Node addint2(String value) throws Exception {
return addint2(new glsl_int(value));
}
public void insertint2At(glsl_int value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index, value.toString());
}
public void insertint2At(String value, int index) throws Exception {
insertint2At(new glsl_int(value), index);
}
public void replaceint2At(glsl_int value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index, value.toString());
}
public void replaceint2At(String value, int index) throws Exception {
replaceint2At(new glsl_int(value), index);
}
public static int getint22MinCount() {
return 1;
}
public static int getint22MaxCount() {
return 1;
}
public int getint22Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2");
}
public boolean hasint22() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2");
}
public glsl_int2 newint22() {
return new glsl_int2();
}
public glsl_int2 getint22At(int index) throws Exception {
return new glsl_int2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index)));
}
public org.w3c.dom.Node getStartingint22Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2" );
}
public org.w3c.dom.Node getAdvancedint22Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", curNode );
}
public glsl_int2 getint22ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new glsl_int2(getDomNodeValue(curNode));
}
public glsl_int2 getint22() throws Exception
{
return getint22At(0);
}
public void removeint22At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index);
}
public void removeint22() {
removeint22At(0);
}
public org.w3c.dom.Node addint22(glsl_int2 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", value.toString());
}
public org.w3c.dom.Node addint22(String value) throws Exception {
return addint22(new glsl_int2(value));
}
public void insertint22At(glsl_int2 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index, value.toString());
}
public void insertint22At(String value, int index) throws Exception {
insertint22At(new glsl_int2(value), index);
}
public void replaceint22At(glsl_int2 value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index, value.toString());
}
public void replaceint22At(String value, int index) throws Exception {
replaceint22At(new glsl_int2(value), index);
}
public static int getint3MinCount() {
return 1;
}
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" );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -