TransformYRotation Option

 

The TransformYRotation option changes the Y rotation value for a Transform module. The OptionValue is a number, indicating the amount of rotation to perform in the Y direction.

 

Syntax

object.Construct(“ModifyModule”)

object.Option(“Module”, “Transform”)

object.Option(“TransformYRotation”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the Y rotation value for a Transform module.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Transform")

  CommandApi.Option ("TransformYRotation", "4")

  CommandApi.Do()

 

Used by: Transform

 

 

See Also

Automation Model