src.gov.nasa.worldwind.ogc.collada.ColladaTexture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwindx Show documentation
Show all versions of worldwindx Show documentation
World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.
/*
* Copyright (C) 2012 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.ogc.collada;
/**
* Represents the COLLADA texture element and provides access to its contents.
*
* @author pabercrombie
* @version $Id: ColladaTexture.java 654 2012-06-25 04:15:52Z pabercrombie $
*/
public class ColladaTexture extends ColladaAbstractObject
{
/**
* Construct an instance.
*
* @param ns the qualifying namespace URI. May be null to indicate no namespace qualification.
*/
public ColladaTexture(String ns)
{
super(ns);
}
/**
* Indicates the value of the texture attribute.
*
* @return The texture attribute, or null the attribute is not set.
*/
public String getTexture()
{
return (String) this.getField("texture");
}
/**
* Indicates the value of the texcoord attribute.
*
* @return The texcoord attribute, or null the attribute is not set.
*/
public String getTexCoord()
{
return (String) this.getField("texcoord");
}
}