SceneObject.rotate¶
- SceneObject.rotate(rotation)[source]¶
Update the orientation of the frame the object and its location are expressed in.
- Parameters:
rotation (Rotation | Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – how we are to rotate the current frame/location