pub trait IGmapPlayerUnitMethods: IGmapPlayerUnit {
Show 30 methods
// Provided methods
fn get_actor(self) -> UnitActor { ... }
fn get_player_model_type(self) -> GmapPlayerUnit_ModelType { ... }
fn set_player_model_type(self, value: impl Into<GmapPlayerUnit_ModelType>) { ... }
fn on_create(self) { ... }
fn on_tick(self) { ... }
fn update_rotation(self) { ... }
fn commit_rotation(self) { ... }
fn get_position(self) -> Vector3 { ... }
fn set_position(self, value: impl Into<Vector3>) { ... }
fn get_up(self) -> Vector3 { ... }
fn set_up(self, value: impl Into<Vector3>) { ... }
fn set_rotation(self, value: impl Into<Quaternion>) { ... }
fn set_direction(self, dir: impl Into<Vector3>, up: impl Into<Vector3>) { ... }
fn set_rotate(self, angle: impl Into<f32>) { ... }
fn set_rotate_immidiate(self, angle: impl Into<f32>) { ... }
fn set_unit_from_unit_pool(self) { ... }
fn load_actor(self) { ... }
fn is_loading(self) -> bool { ... }
fn unload_unit(self) { ... }
fn setup(self) { ... }
fn setup_model_type(self) { ... }
fn change_model_type(self, model_type: impl Into<GmapPlayerUnit_ModelType>) { ... }
fn stop_run(self) { ... }
fn hide(self) { ... }
fn show(self) { ... }
fn set_map_transparent(self, active: impl Into<bool>) { ... }
fn is_on_ground(self) -> bool { ... }
fn play_teleport_out(self) { ... }
fn play_teleport_in(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_player_model_type(self) -> GmapPlayerUnit_ModelType
fn get_player_model_type(self) -> GmapPlayerUnit_ModelType
get_PlayerModelType() overload
Sourcefn set_player_model_type(self, value: impl Into<GmapPlayerUnit_ModelType>)
fn set_player_model_type(self, value: impl Into<GmapPlayerUnit_ModelType>)
set_PlayerModelType(crate::app::gmapplayerunit::GmapPlayerUnit_ModelType) overload
Sourcefn update_rotation(self)
fn update_rotation(self)
UpdateRotation() overload
Sourcefn commit_rotation(self)
fn commit_rotation(self)
CommitRotation() overload
Sourcefn get_position(self) -> Vector3
fn get_position(self) -> Vector3
get_Position() overload
Sourcefn set_position(self, value: impl Into<Vector3>)
fn set_position(self, value: impl Into<Vector3>)
set_Position(crate::unity_engine::vector3::Vector3) overload
Sourcefn set_up(self, value: impl Into<Vector3>)
fn set_up(self, value: impl Into<Vector3>)
set_Up(crate::unity_engine::vector3::Vector3) overload
Sourcefn set_rotation(self, value: impl Into<Quaternion>)
fn set_rotation(self, value: impl Into<Quaternion>)
set_Rotation(crate::unity_engine::quaternion::Quaternion) overload
Sourcefn set_direction(self, dir: impl Into<Vector3>, up: impl Into<Vector3>)
fn set_direction(self, dir: impl Into<Vector3>, up: impl Into<Vector3>)
SetDirection(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload
Sourcefn set_rotate(self, angle: impl Into<f32>)
fn set_rotate(self, angle: impl Into<f32>)
SetRotate(f32) overload
Sourcefn set_rotate_immidiate(self, angle: impl Into<f32>)
fn set_rotate_immidiate(self, angle: impl Into<f32>)
SetRotateImmidiate(f32) overload
Sourcefn set_unit_from_unit_pool(self)
fn set_unit_from_unit_pool(self)
SetUnitFromUnitPool() overload
Sourcefn load_actor(self)
fn load_actor(self)
LoadActor() overload
Sourcefn is_loading(self) -> bool
fn is_loading(self) -> bool
IsLoading() overload
Sourcefn unload_unit(self)
fn unload_unit(self)
UnloadUnit() overload
Sourcefn setup_model_type(self)
fn setup_model_type(self)
SetupModelType() overload
Sourcefn change_model_type(self, model_type: impl Into<GmapPlayerUnit_ModelType>)
fn change_model_type(self, model_type: impl Into<GmapPlayerUnit_ModelType>)
ChangeModelType(crate::app::gmapplayerunit::GmapPlayerUnit_ModelType) overload
Sourcefn set_map_transparent(self, active: impl Into<bool>)
fn set_map_transparent(self, active: impl Into<bool>)
SetMapTransparent(bool) overload
Sourcefn is_on_ground(self) -> bool
fn is_on_ground(self) -> bool
IsOnGround() overload
Sourcefn play_teleport_out(self)
fn play_teleport_out(self)
PlayTeleportOut() overload
Sourcefn play_teleport_in(self)
fn play_teleport_in(self)
PlayTeleportIn() 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: IGmapPlayerUnit> IGmapPlayerUnitMethods for __T
app-gmapplayerunit only.