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§
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn get_sight_filter(self) -> FilterMode
fn get_sight_filter(self) -> FilterMode
GetSightFilter() overload
Sourcefn get_sight_size(self) -> i32
fn get_sight_size(self) -> i32
GetSightSize() overload
Sourcefn get_sight_scale(self) -> i32
fn get_sight_scale(self) -> i32
GetSightScale() overload
Sourcefn get_sight_shift(self) -> i32
fn get_sight_shift(self) -> i32
GetSightShift() overload
Sourcefn is_changed_sight_texture(self) -> bool
fn is_changed_sight_texture(self) -> bool
IsChangedSightTexture() overload
Sourcefn try_create_sight_texture(self) -> Texture2D
fn try_create_sight_texture(self) -> Texture2D
TryCreateSightTexture() overload
Sourcefn clear_sight_texture(self)
fn clear_sight_texture(self)
ClearSightTexture() overload
Sourcefn try_delete_sight_texture(self)
fn try_delete_sight_texture(self)
TryDeleteSightTexture() overload
Sourcefn update_sight_texture(
self,
image: impl Into<MapImageSight>,
w: impl Into<i32>,
h: impl Into<i32>,
)
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
Sourcefn 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( 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
Sourcefn commit_2(self, mode: impl Into<ViewMode_Mode>)
fn commit_2(self, mode: impl Into<ViewMode_Mode>)
Commit(crate::app::viewmode::ViewMode_Mode) 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§
impl<__T: IMapProjection> IMapProjectionMethods for __T
Available on crate feature
app-mapprojection only.