mrv.maya.nt.util

Epydoc: mrv.maya.nt.util

General utility methods

Functions

mrv.maya.nt.util.in_double3_as_vector(function, vec_value)
Set the value in vec_value to passed in function as double [3] and return the result
mrv.maya.nt.util.in_double3_out_vector(function)
Returns:MVector containing result of function with signature function(double [3])
mrv.maya.nt.util.in_two_floats_out_tuple(function)
Returns:tuple containing result of function with signature function(float& f1, float& f2)
mrv.maya.nt.util.undoable_in_double3_as_vector(function, vec_old_value, vec_new_value)

function supports the signature function(double [3] const) and will change the underlying instance to the respective values as retrieved from the passed in vector. The calling method must be enclosed in an undoable decorator.

Parameters:
  • vec_old_value – vector with the old value of the corresponding getX method
  • vec_new_value – vector with new value that is to be set

Classes

Epydoc: mrv.maya.nt.util

class mrv.maya.nt.util.MScriptUtil(*args)

Bases: object

asBool()
asBoolPtr()
asCharPtr()
asDouble()
asDouble2Ptr()
asDouble3Ptr()
asDouble4Ptr()
asDoublePtr()
asFloat()
asFloat2Ptr()
asFloat3Ptr()
asFloat4Ptr()
asFloatPtr()
asInt()
asInt2Ptr()
asInt3Ptr()
asInt4Ptr()
asIntPtr()
asShort()
asShort2Ptr()
asShort3Ptr()
asShort4Ptr()
asShortPtr()
asUcharPtr()
asUint()
asUint2Ptr()
asUint3Ptr()
asUint4Ptr()
asUintPtr()
createFloatArrayFromList()
createFloatMatrixFromList()
createFromDouble()
createFromInt()
createFromList()
createIntArrayFromList()
createMatrixFromList()
getBool()
getBoolArrayItem()
getChar()
getCharArrayItem()
getDouble()
getDouble2ArrayItem()
getDouble3ArrayItem()
getDouble4ArrayItem()
getDoubleArrayItem()
getFloat()
getFloat2ArrayItem()
getFloat3ArrayItem()
getFloat4ArrayItem()
getFloatArrayItem()
getInt()
getInt2ArrayItem()
getInt3ArrayItem()
getInt4ArrayItem()
getIntArrayItem()
getShort()
getShort2ArrayItem()
getShort3ArrayItem()
getShort4ArrayItem()
getShortArrayItem()
getUchar()
getUcharArrayItem()
getUint()
getUint2ArrayItem()
getUint3ArrayItem()
getUint4ArrayItem()
getUintArrayItem()
setBool()
setBoolArray()
setChar()
setCharArray()
setDouble()
setDouble2ArrayItem()
setDouble3ArrayItem()
setDouble4ArrayItem()
setDoubleArray()
setFloat()
setFloat2ArrayItem()
setFloat3ArrayItem()
setFloat4ArrayItem()
setFloatArray()
setInt()
setInt2ArrayItem()
setInt3ArrayItem()
setInt4ArrayItem()
setIntArray()
setShort()
setShort2ArrayItem()
setShort3ArrayItem()
setShort4ArrayItem()
setShortArray()
setUchar()
setUcharArray()
setUint()
setUint2ArrayItem()
setUint3ArrayItem()
setUint4ArrayItem()
setUintArray()
thisown
The membership flag

Table Of Contents

Previous topic

mrv.maya.nt.anim

Next topic

mrv.maya.nt.storage

This Page