Skip to main content

IGmapCinemachineControllerMethods

Trait IGmapCinemachineControllerMethods 

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

Source

fn ctor(self, carrier: impl Into<GameObject>)

.ctor(crate::unity_engine::gameobject::GameObject) overload

Source

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

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

Source

fn move(self, speed: impl Into<f32>) -> Vector3

Move(f32) overload

Source

fn set(self, normalized_pos: impl Into<f32>) -> Vector3

Set(f32) overload

Source

fn is_move_finished(self, is_forward: impl Into<bool>) -> bool

IsMoveFinished(bool) overload

Source

fn get_finished_type(self) -> GmapCinemachineController_PointType

GetFinishedType() overload

Source

fn enable(self)

Enable() overload

Source

fn disable(self)

Disable() overload

Source

fn get_normalized_path_position(self) -> f32

GetNormalizedPathPosition() overload

Source

fn get_path_position(self) -> f32

get_PathPosition() overload

Source

fn set_path_position(self, value: impl Into<f32>)

set_PathPosition(f32) overload

Source

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§

Source§

impl<__T: IGmapCinemachineController> IGmapCinemachineControllerMethods for __T

Available on crate feature app-gmapcinemachinecontroller only.