
## set_rotation(self, rw, rx, ry, rz) {#float-float-float-float}

Sets the rotation(as quaternion components) of current transform.


### Returns 





```python

def set_rotation(self, rw, rx, ry, rz):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| rw | float |  |
| rx | float |  |
| ry | float |  |
| rz | float |  |

### Example 


```python
from aspose.threed import Node

node = Node()
node.transform.set_rotation(1, 0, 0, 0)

```



### See Also
* module [`aspose.threed`](../../)
* class [`Transform`](/3d/python-net/aspose.threed/transform)
