Developer Documentation Library > UNICOM Intelligence Function Library > List functions > GetRotationSeed
 
GetRotationSeed
Returns the current rotation state, which is used by the Rot function. This represents the offset that was used for the most recent rotation.
Syntax
GetRotationSeed()
Parameters
(return)
Type: Long
Current rotation state.
Notes
The current rotation state is stored by the mrScriptBasic engine and Evaluate component and passed to the Rot function as a hidden parameter.
The GetRotationSeed function is similar to using the rotation keyword in Quancept.
Example
Dim seed
seed = GetRotationSeed()
See also
Rot
List functions