Jump to content

How can I use the reference argument of script function at the C++ functions?


photo

Recommended Posts

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
×
×
  • Create New...