Function zng_wgt_transform::rotate_x

source ยท
pub fn rotate_x(
    child: impl UiNode,
    angle: impl IntoVar<AngleRadian>,
) -> impl 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.