FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Geometry3D

    struct · ferroui-media3d · v0.5.0

    struct Geometry3D
    

    WPF's Geometry3D: the base of the 3D geometries.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<Geometry3D>
    

    Returns a strong reference to this object.

    Source

    bounds

    fn bounds(self: &Self) -> Rect3D
    

    The axis-aligned bounds of the geometry (WPF's Bounds); Rect3D::EMPTY when it has no points.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    changed

    fn changed(self: &Self, handler: impl Fn(Scene3DChange) -> () + 'static) -> Subscription
    

    Calls handler on every change of the geometry, until the returned guard is dropped.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.