IC Python API:RL Python Modules Category List

From Reallusion Wiki!
Jump to: navigation, search
Main article: IC Python API.
Related article: Python Modules Categorized List.
Mathematics
RMath RMath provides functions related to mathematics, including functions of trigonometric functions, exponents, logarithms, numerical comparisons, creation of random values, etc.
RVector2 2D vector2 math class for float values. This class provides access to RLPy's internal vector2 math library allowing vectors to be handled easily, in a manner compatible with internal RLPy data structures. It also supports operators and provides some constants for your convenience:
RVector3 This class represent the 3D vector (x, y, z). This class provides access to RLPy's internal 3D vector math library allowing 3D vectors to be handled easily, in a manner compatible with internal RLPy data structures. It also supports operators and provides some constants for your convenience.
RVector4 This class represent a 4D vector (x, y, z, w). This class provides access to RLPy's internal 4D vector math library allowing 4D vectors to be handled easily, in a manner compatible with internal RLPy data structures. It also supports operators and provides some constants for your convenience.
RMatrix3 This class represent the 3x3 matrix. iClone uses row-major order where consecutive elements of a row reside next to each other, and the data is read from left to right, top to bottom, in a vertical zig-zag. This class provides access to RLPy's internal 3x3 matrix operators and related functions.
RQuaternion This class represents a quaternion in mathematics. Quaternions represetn directions as a single rotation, just as rectangular coordinates represent positions as single vector. RQuaternion also defines some constants that can be used directly.
RMatrix4 This class represents a quaternion in mathematics. Quaternions represetn directions as a single rotation, just as rectangular coordinates represent positions as single vector. RQuaternion also defines some constants that can be used directly.
RTransform This class represent the transform data of RTransform. This class provides access to RLPy's internal 4x4 matrix operators and related functions.
RRgb Primary color class that stores data for red (R), green (G), and blue (B). The value stored in RRgb ranges from 0 to 1, which represents 0 to 255 in color value. You can swtich between these two representations in different ways; For example, the range of values retrieved by RRgb.R() is 0 to 1, and the range of values retrieved by RRgb.Red() is 0 to 255. In addition, preset colors are provided for direct usage.
RColor This class represent the color data RGBA.