Function zng::layout::perspective_origin

source ·
pub fn perspective_origin(
    child: impl UiNode,
    origin: impl IntoVar<Point>,
) -> impl UiNode
Expand description

P Vanishing point used by 3D transforms in the widget’s children.

Is the widget center by default.