rotate_x

Function rotate_x 

Source
pub fn rotate_x(
    child: impl IntoUiNode,
    angle: impl IntoVar<AngleRadian>,
) -> UiNode
Expand description

P Rotate transform.

This property is a shorthand way of setting transform to new_rotate_x(angle) using variable mapping.

The rotation is done around the x axis that passes trough the transform_origin in 3D.