Skip to main content

IGmapPlayerUnitMethods

Trait IGmapPlayerUnitMethods 

Source
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§

Source

fn get_actor(self) -> UnitActor

get_Actor() overload

Source

fn get_player_model_type(self) -> GmapPlayerUnit_ModelType

get_PlayerModelType() overload

Source

fn set_player_model_type(self, value: impl Into<GmapPlayerUnit_ModelType>)

set_PlayerModelType(crate::app::gmapplayerunit::GmapPlayerUnit_ModelType) overload

Source

fn on_create(self)

OnCreate() overload

Source

fn on_tick(self)

OnTick() overload

Source

fn update_rotation(self)

UpdateRotation() overload

Source

fn commit_rotation(self)

CommitRotation() overload

Source

fn get_position(self) -> Vector3

get_Position() overload

Source

fn set_position(self, value: impl Into<Vector3>)

set_Position(crate::unity_engine::vector3::Vector3) overload

Source

fn get_up(self) -> Vector3

get_Up() overload

Source

fn set_up(self, value: impl Into<Vector3>)

set_Up(crate::unity_engine::vector3::Vector3) overload

Source

fn set_rotation(self, value: impl Into<Quaternion>)

set_Rotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn set_direction(self, dir: impl Into<Vector3>, up: impl Into<Vector3>)

SetDirection(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) overload

Source

fn set_rotate(self, angle: impl Into<f32>)

SetRotate(f32) overload

Source

fn set_rotate_immidiate(self, angle: impl Into<f32>)

SetRotateImmidiate(f32) overload

Source

fn set_unit_from_unit_pool(self)

SetUnitFromUnitPool() overload

Source

fn load_actor(self)

LoadActor() overload

Source

fn is_loading(self) -> bool

IsLoading() overload

Source

fn unload_unit(self)

UnloadUnit() overload

Source

fn setup(self)

Setup() overload

Source

fn setup_model_type(self)

SetupModelType() overload

Source

fn change_model_type(self, model_type: impl Into<GmapPlayerUnit_ModelType>)

ChangeModelType(crate::app::gmapplayerunit::GmapPlayerUnit_ModelType) overload

Source

fn stop_run(self)

StopRun() overload

Source

fn hide(self)

Hide() overload

Source

fn show(self)

Show() overload

Source

fn set_map_transparent(self, active: impl Into<bool>)

SetMapTransparent(bool) overload

Source

fn is_on_ground(self) -> bool

IsOnGround() overload

Source

fn play_teleport_out(self)

PlayTeleportOut() overload

Source

fn play_teleport_in(self)

PlayTeleportIn() 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: IGmapPlayerUnit> IGmapPlayerUnitMethods for __T

Available on crate feature app-gmapplayerunit only.