I would like to point out by the way that although almost all friend
functions are listed as having no script support, the first version of slerp
(http://download.autodesk.com/us/maya/2009help/API/class_m_quaternion.html)
is not listed as such (either here or in the header files, 2008 or 2009).
Is
I added this page to my blog in response to a e-mail from someone. I
thought it might help some of those that are newer to using the Python
API.
http://www.rtrowbridge.com/blog/2009/02/15/maya-api-docs-
demystified-for-python-users/">
http://www.rtrowbridge.com/blog/2009/02/15/maya-api-docs-demys
"Why do my eyes hurt?"
"Because you've never used them before"
I'm feeling a little THAT right now. Thank you a 1000 times over.
On Sun, Feb 15, 2009 at 6:19 PM, Dean Edmonds wrote:
>
> On Sun, Feb 15, 2009 at 14:16, jasonosipa wrote:
> >
> > What do const, &, and * each mean?
> >
> > When y
On Sun, Feb 15, 2009 at 14:16, jasonosipa wrote:
>
> What do const, &, and * each mean?
>
> When you look at documentation for an object, each argument can have a
> lot of different markup, and I'm not confident with guesses at what
> those mean, so I'll just ask:
>
> What do const, &, and * each
Absolutely. That fun, and then the not ACTUALLY implicit knowledge,
but so-complicated-it-may-as-well-be-implicit-knowledge goodness of
how you get (from a MEL perspective) from creating a float attribute,
to bloody using it. From (double) to reading it in a node (blah blah
blah.asFloat() ) to c
Keep in mind this documentation is for the C++ API, where all this makes a
lot more sense. It doesn't always have direct translation in python (hence
the notorious MScriptUtils).
On Sun, Feb 15, 2009 at 2:51 PM, Tim Fowler wrote:
> "const" means that the parameter is constant and the compiler wi
"const" means that the parameter is constant and the compiler will not allow
changing its value.
"&" is a reference to a particular parameter. If you call a function with a
parameter that is not a reference then a copy is made of what you passed
in. If it is a reference then basically the caller
What do const, &, and * each mean?
When you look at documentation for an object, each argument can have a
lot of different markup, and I'm not confident with guesses at what
those mean, so I'll just ask:
What do const, &, and * each mean? What does "blank" mean, where
there is no const at the h