public static void dumpMaterialProperty ( AiMaterial . Property property ) { System . out . print ( property . getKey ( ) + " " + property . getSemantic ( ) + " " + property . getIndex ( ) + ": " ) ; Object data = property . getData ( ) ; if ( data instanceof ByteBuffer ) { ByteBuffer buf = ( ByteBuffer ) data ; for ( int i = 0 ; i < buf . capacity ( ) ; i ++ ) { System . out . print ( Integer . toHexString ( buf . get ( i ) & 0xFF ) + " " ) ; } System . out . println ( ) ; } else { System . out . println ( data . toString ( ) ) ; } }
Dumps a single material property to stdout .