cizi.kim Posted August 30, 2011 Share Posted August 30, 2011 It says the way to pass the arguments by the reference at script in the document. but, I want to use the reference argument of script function at the C++ codes. I already know another way to get arguments like the way to use the array or maps. but, I have to get a lot of return values, not using the user class or containers. Please tell me the way if someone have known that. --- Script function void getDesc( int id, float& fArg1, float& fArg2 ) { ...... } ---- C++ --------- Unigine::run_world( "getDesc" , ???? ); Link to comment
manguste Posted September 2, 2011 Share Posted September 2, 2011 As said here, that's not possible. Arrays and maps are available for that, give them a shot. Link to comment
Recommended Posts