_3D.Rotation
Syntax
<Path>._3D.Rotation:real/real[4] |
The attribute _3D.Rotation sets the current rotation of the object designated by <Path>.
Data Type of the Value You Can Assign
You can enter:
A number which defines the rotation around the negative z-axis at the position at which you inserted the object. This is the axis that causes a rotation that matches the rotation in 2D.
An array with four items, which defines the rotation around the specified axis (values 2 to 4) at the position at which you inserted the object.
If you read the attribute, 3D returns an array with four items.
Example
var a : any := MyStation._3D.Rotation |
MyStation._3D.Rotation := 30 |
MyStation._3D.Rotation := [45, 0, 1, 0] |
Related Topics
ObjectAngle in 2D
ObjectMirrored in 2D