FileDocCategorySizeDatePackage
SpotLight_Info.javaAPI DocExample1471Mon Oct 25 09:24:30 BST 1999com.tornadolabs.j3dtree

SpotLight_Info

public class SpotLight_Info extends PointLight_Info

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


	 
	
	
Methods Summary
public int[]getCapabilityBits()

		return createCompoundArray( m_kCapabilityArray, super.getCapabilityBits() );
	
public java.lang.StringgetInfo(java.lang.Object obj)

			
		String szText = super.getInfo( obj );
		szText = insertSectionBreak( szText );
		
		szText += "SpotLight\r\n";
		
		SpotLight spotLight = (SpotLight) obj;
		
		szText += "Concentration: " + spotLight.getConcentration() + "\r\n";

		Vector3f direction = new Vector3f();
		spotLight.getDirection( direction );
		szText += "Direction: " + direction + "\r\n";
		
		szText += "Spread Angle: " + spotLight.getSpreadAngle() + "\r\n";

		return szText;