Skip to main content

IMapObject_DitherPairMethods

Trait IMapObject_DitherPairMethods 

Source
pub trait IMapObject_DitherPairMethods: IMapObject_DitherPair {
    // Provided methods
    fn ctor(
        self,
        maanger: impl Into<MapObject_DitherManager>,
        render: impl Into<Renderer>,
    ) { ... }
    fn commit_alpha(self) { ... }
    fn set_alpha(self, alpha: impl Into<f32>) { ... }
    fn get_alpha(self) -> f32 { ... }
}

Provided Methods§

Source

fn ctor( self, maanger: impl Into<MapObject_DitherManager>, render: impl Into<Renderer>, )

.ctor(crate::app::mapobject::MapObject_DitherManager, crate::unity_engine::renderer::Renderer) overload

Source

fn commit_alpha(self)

CommitAlpha() overload

Source

fn set_alpha(self, alpha: impl Into<f32>)

SetAlpha(f32) overload

Source

fn get_alpha(self) -> f32

GetAlpha() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMapObject_DitherPair> IMapObject_DitherPairMethods for __T

Available on crate feature app-mapobject only.