Skip to main content

IMapProjectionMethods

Trait IMapProjectionMethods 

Source
pub trait IMapProjectionMethods: IMapProjection {
Show 16 methods // Provided methods fn is_usable(self) -> bool { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn get_sight_filter(self) -> FilterMode { ... } fn get_sight_size(self) -> i32 { ... } fn get_sight_scale(self) -> i32 { ... } fn get_sight_shift(self) -> i32 { ... } fn is_changed_sight_texture(self) -> bool { ... } fn try_create_sight_texture(self) -> Texture2D { ... } fn clear_sight_texture(self) { ... } fn try_delete_sight_texture(self) { ... } fn update_sight_texture( self, image: impl Into<MapImageSight>, w: impl Into<i32>, h: impl Into<i32>, ) { ... } fn commit( self, texture: impl Into<Texture>, scale: impl Into<f32>, alpha: impl Into<f32>, offset_x: impl Into<f32>, offset_y: impl Into<f32>, speed_x: impl Into<f32>, speed_y: impl Into<f32>, ) { ... } fn commit_2(self, mode: impl Into<ViewMode_Mode>) { ... } fn commit_3(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn is_usable(self) -> bool

IsUsable() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn get_sight_filter(self) -> FilterMode

GetSightFilter() overload

Source

fn get_sight_size(self) -> i32

GetSightSize() overload

Source

fn get_sight_scale(self) -> i32

GetSightScale() overload

Source

fn get_sight_shift(self) -> i32

GetSightShift() overload

Source

fn is_changed_sight_texture(self) -> bool

IsChangedSightTexture() overload

Source

fn try_create_sight_texture(self) -> Texture2D

TryCreateSightTexture() overload

Source

fn clear_sight_texture(self)

ClearSightTexture() overload

Source

fn try_delete_sight_texture(self)

TryDeleteSightTexture() overload

Source

fn update_sight_texture( self, image: impl Into<MapImageSight>, w: impl Into<i32>, h: impl Into<i32>, )

UpdateSightTexture(crate::app::mapimagesight::MapImageSight, i32, i32) overload

Source

fn commit( self, texture: impl Into<Texture>, scale: impl Into<f32>, alpha: impl Into<f32>, offset_x: impl Into<f32>, offset_y: impl Into<f32>, speed_x: impl Into<f32>, speed_y: impl Into<f32>, )

Commit(crate::unity_engine::texture::Texture, f32, f32, f32, f32, f32, f32) overload

Source

fn commit_2(self, mode: impl Into<ViewMode_Mode>)

Commit(crate::app::viewmode::ViewMode_Mode) overload

Source

fn commit_3(self)

Commit() overload

Source

fn ctor(self)

.ctor() 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: IMapProjection> IMapProjectionMethods for __T

Available on crate feature app-mapprojection only.