pub trait IGmapCinemachineControllerMethods: IGmapCinemachineController {
// Provided methods
fn ctor(self, carrier: impl Into<GameObject>) { ... }
fn set_position(self, pos: impl Into<Vector3>) { ... }
fn move(self, speed: impl Into<f32>) -> Vector3 { ... }
fn set(self, normalized_pos: impl Into<f32>) -> Vector3 { ... }
fn is_move_finished(self, is_forward: impl Into<bool>) -> bool { ... }
fn get_finished_type(self) -> GmapCinemachineController_PointType { ... }
fn enable(self) { ... }
fn disable(self) { ... }
fn get_normalized_path_position(self) -> f32 { ... }
fn get_path_position(self) -> f32 { ... }
fn set_path_position(self, value: impl Into<f32>) { ... }
fn get_path_length(self) -> f32 { ... }
}Provided Methods§
Sourcefn ctor(self, carrier: impl Into<GameObject>)
fn ctor(self, carrier: impl Into<GameObject>)
.ctor(crate::unity_engine::gameobject::GameObject) overload
Sourcefn set_position(self, pos: impl Into<Vector3>)
fn set_position(self, pos: impl Into<Vector3>)
SetPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn is_move_finished(self, is_forward: impl Into<bool>) -> bool
fn is_move_finished(self, is_forward: impl Into<bool>) -> bool
IsMoveFinished(bool) overload
Sourcefn get_finished_type(self) -> GmapCinemachineController_PointType
fn get_finished_type(self) -> GmapCinemachineController_PointType
GetFinishedType() overload
Sourcefn get_normalized_path_position(self) -> f32
fn get_normalized_path_position(self) -> f32
GetNormalizedPathPosition() overload
Sourcefn get_path_position(self) -> f32
fn get_path_position(self) -> f32
get_PathPosition() overload
Sourcefn set_path_position(self, value: impl Into<f32>)
fn set_path_position(self, value: impl Into<f32>)
set_PathPosition(f32) overload
Sourcefn get_path_length(self) -> f32
fn get_path_length(self) -> f32
get_PathLength() 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: IGmapCinemachineController> IGmapCinemachineControllerMethods for __T
Available on crate feature
app-gmapcinemachinecontroller only.