VRayHexer/README.md

28 lines
780 B
Markdown

# VRayHexer
This is a tool for convert data structure into HEX string, now support
* TraceTransform
### VRayHexerMaya
The plugin is convert object transformation ( `MMatrix` ) to HEX string.
#### Example
```python
import maya.cmds as cmds
cmds.VraySceneHexer('pCube1', q=True, transformHex=True)
# result :[u'0000803F0000000000000000000000000000803F0000000000000000000000000000803F00000000000000000000000000000000000000000000000000000000']
```
### VRayHexerPython
This is a python module for generate HEX string from matrix class.
#### Example
```python
from VRayHexer import TraceTransform
tm = TraceTransform()
tm.getHex()
# result : u'0000803F0000000000000000000000000000803F0000000000000000000000000000803F00000000000000000000000000000000000000000000000000000000'
```