FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ModelVisual3D

    struct · ferroui-media3d · v0.5.0

    struct ModelVisual3D
    

    WPF's ModelVisual3D: shows the model of its Content and its Children.

    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<ModelVisual3D>
    

    Returns a strong reference to this object.

    Source

    content_property

    fn content_property() -> &'static StyledProperty<Option<Ref<Model3D>>>
    

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    A visual without content or children.

    Source

    with_content

    fn with_content(content: Ref<Model3D>) -> Ref<Self>
    

    A visual showing content.

    Source

    content

    fn content(self: &Self) -> Option<Ref<Model3D>>
    

    The model the visual shows.

    Source

    set_content

    fn set_content(self: &Self, value: Option<Ref<Model3D>>)
    

    Source

    children

    fn children(self: &Self) -> Visual3DCollection
    

    The child visuals (a shared handle to the collection).

    Source

    Trait implementations

    Availability

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