FileDocCategorySizeDatePackage
TextureAttributes_Info.javaAPI DocExample1810Fri Dec 10 13:36:04 GMT 1999com.tornadolabs.j3dtree

TextureAttributes_Info

public class TextureAttributes_Info extends ObjectInfo

Fields Summary
private static final int[]
m_kCapabilityArray
Constructors Summary
public TextureAttributes_Info()


	 
	
	
Methods Summary
public int[]getCapabilityBits()

		return createCompoundArray( m_kCapabilityArray, super.getCapabilityBits() );
	
java.util.EnumerationgetChildren(java.lang.Object obj)

		return super.getChildren( obj );
	
public java.lang.StringgetInfo(java.lang.Object obj)

		String szText = super.getInfo( obj );

		szText = insertSectionBreak( szText );
		szText += "Texture Attributes\r\n";
		
		TextureAttributes textureAttribs = (TextureAttributes) obj;
				
		szText += "Perspective Correction Mode: " + textureAttribs.getPerspectiveCorrectionMode() + "\r\n";
		
		Color4f color = new Color4f();
		textureAttribs.getTextureBlendColor( color );
		
		szText += "Blend Color: " + color + "\r\n";
		szText += "Mode: " + textureAttribs.getTextureMode() + "\r\n";
		
		Transform3D t3d = new Transform3D();
		textureAttribs.getTextureTransform( t3d );
		
		szText += "Transform -> \r\n";
		
		szText += t3d + "\r\n";
		
		return szText;