pub trait INavigatorMethods: INavigator {
// Provided methods
fn get_normalized_delta_position(self) -> Vector3 { ... }
fn set_normalized_delta_position(self, value: impl Into<Vector3>) { ... }
fn get_state(self) -> Navigator_State { ... }
fn set_state(self, value: impl Into<Navigator_State>) { ... }
fn initiate(self, transform: impl Into<Transform>) { ... }
fn update(self, target_position: impl Into<Vector3>) { ... }
fn calculate_path(self, target_position: impl Into<Vector3>) { ... }
fn find(self, target_position: impl Into<Vector3>) -> bool { ... }
fn stop(self) { ... }
fn hor_distance(self, p1: impl Into<Vector3>, p2: impl Into<Vector3>) -> f32 { ... }
fn visualize(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_normalized_delta_position(self) -> Vector3
fn get_normalized_delta_position(self) -> Vector3
get_normalizedDeltaPosition() overload
Sourcefn set_normalized_delta_position(self, value: impl Into<Vector3>)
fn set_normalized_delta_position(self, value: impl Into<Vector3>)
set_normalizedDeltaPosition(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_state(self) -> Navigator_State
fn get_state(self) -> Navigator_State
get_state() overload
Sourcefn set_state(self, value: impl Into<Navigator_State>)
fn set_state(self, value: impl Into<Navigator_State>)
set_state(crate::root_motion::demos::navigator::Navigator_State) overload
Sourcefn initiate(self, transform: impl Into<Transform>)
fn initiate(self, transform: impl Into<Transform>)
Initiate(crate::unity_engine::transform::Transform) overload
Sourcefn update(self, target_position: impl Into<Vector3>)
fn update(self, target_position: impl Into<Vector3>)
Update(crate::unity_engine::vector3::Vector3) overload
Sourcefn calculate_path(self, target_position: impl Into<Vector3>)
fn calculate_path(self, target_position: impl Into<Vector3>)
CalculatePath(crate::unity_engine::vector3::Vector3) overload
Sourcefn find(self, target_position: impl Into<Vector3>) -> bool
fn find(self, target_position: impl Into<Vector3>) -> bool
Find(crate::unity_engine::vector3::Vector3) overload
Sourcefn hor_distance(self, p1: impl Into<Vector3>, p2: impl Into<Vector3>) -> f32
fn hor_distance(self, p1: impl Into<Vector3>, p2: impl Into<Vector3>) -> f32
HorDistance(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3) 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.