...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
vector
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
//Read Rot Example |
...
vector $rot; |
...
int $fileID; |
...
int $fileID = `fileOpen "C:/FileTesting.txt" "r"`; |
...
// Read the rotation as an Euler angle |
...
// The -delims flag assumes you are reading from a text file |
...
$rot = `readRot $fileID -delim ","`; |
...
// Or, read the rotation as a quaternion |
...
// The -delims flag assumes you are reading from a text file |
...
$rot = `readRot $fileID -quat -delim "\t"`; |
...
fileClose $fileID; |
...
// Display the value |
...
print $rot; |
Additional information
Related commands
...