Jump to content

OP_NODE::getXformOrder()


Guest xionmark

Recommended Posts

Guest xionmark

Hi all,

I've got a question about the correct way to retrieve the XformOrder from a node. When I looked up the OP_NODE::getXformOrder() method, so I can retrieve the correct XformOrder, I'm not sure what to do with the second parameter to the method, the *chp pointer:

virtual void getXformOrder (UT_XformOrder &xord, CH_Channel *chp)

Is this the right method to call to get the XformOrder? It's the only one I found. And if so, what's your recommendation for the *chp parameter?

Or, maybe this isn't the right method to be calling ...?

Thanks!

--Mark

Link to comment
Share on other sites

Hi Mark,

If you have an OBJ_Node, you should be able to use getXformOrder() with a NULL for chp. Or you could use

OP_Node::buildXformOrder().

OBJ_Node has TRS() and XYZ() you can use to get the two first int values for that function.

I'm not really sure what the channel pointer is used for in getXformOrder().

Hope that helps,

George.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...