Pass matrix3 and point3 to maxscript

Pass matrix3 and point3 to maxscript

Anonymous
Not applicable
262 Views
0 Replies
Message 1 of 1

Pass matrix3 and point3 to maxscript

Anonymous
Not applicable
I'm trying to write a plugin that needs to be able to pass point3 and matrix3 to maxscript. Is it possible to do that? I only succeeded to pass float and int.

My sample code is as following,

BEGIN_FUNCTION_MAP
FN_0(fpGetPosition, TYPE_POINT3, GetPosition)
END_FUNCTION_MAP

Point3 testHelper::GetPosition()
{
Point3 pos
return pos;
}
0 Likes
263 Views
0 Replies
Replies (0)