The TransformXRotation option changes the X rotation value for a Transform module. The OptionValue is a number, indicating the amount of rotation to perform in the X direction.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “Transform”)
object.Option(“TransformXRotation”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the X rotation value for a Transform module.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Transform")
CommandApi.Option ("TransformXRotation", "30")
CommandApi.Do()
Used by: Transform
See Also