short function ( float arg0 , float arg1 , float arg2 , float arg3 , float arg4 , float arg5 , float arg6 , float arg7 , short arg8 , short arg9 , short arg10 , short arg11 ) { _points . add ( arg0 , arg1 , arg2 ) ; if ( _hasUvs ) _uvs . add ( arg3 , arg4 ) ; if ( _hasNormals ) _normals . add ( arg5 , arg6 , arg7 ) ; if ( _hasColors ) _colors . add ( arg8 , arg9 , arg10 , arg11 ) ; return ( short ) ( _points . size ( ) - 1 ) ; }
use this to populate an object3d 's vertex data . return 's newly added vertex 's index if hasuvs , hasnormals , or hascolors was set to false , their corresponding arguments are just ignored . concode_field_sep Color4BufferList _colors concode_elem_sep boolean _hasUvs concode_elem_sep boolean _hasNormals concode_elem_sep boolean _hasColors concode_elem_sep Number3dBufferList _normals concode_elem_sep Number3dBufferList _points concode_elem_sep UvBufferList _uvs concode_field_sep UvBufferList uvs concode_elem_sep int size concode_elem_sep boolean hasColors concode_elem_sep boolean hasNormals concode_elem_sep Vertices clone concode_elem_sep void overwriteNormals concode_elem_sep void overwriteVerts concode_elem_sep boolean hasUvs concode_elem_sep Number3dBufferList normals concode_elem_sep Color4BufferList colors concode_elem_sep int capacity concode_elem_sep Number3dBufferList points