Message 1 of 1
Pass matrix3 and point3 to maxscript

Not applicable
01-17-2008
02:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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;
}
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;
}