zng_wgt_transform

Function rotate_y

source
pub fn rotate_y(
    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_y(angle) using variable mapping.

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