Skip to main content

ILookAtController

Trait ILookAtController 

Source
pub trait ILookAtController: IMonoBehaviour {
Show 40 methods // Provided methods fn ik(self) -> LookAtIK { ... } fn set_ik(self, value: LookAtIK) { ... } fn target(self) -> Transform { ... } fn set_target(self, value: Transform) { ... } fn weight(self) -> f32 { ... } fn set_weight(self, value: f32) { ... } fn offset(self) -> Vector3 { ... } fn set_offset(self, value: Vector3) { ... } fn target_switch_smooth_time(self) -> f32 { ... } fn set_target_switch_smooth_time(self, value: f32) { ... } fn weight_smooth_time(self) -> f32 { ... } fn set_weight_smooth_time(self, value: f32) { ... } fn smooth_turn_towards_target(self) -> bool { ... } fn set_smooth_turn_towards_target(self, value: bool) { ... } fn max_radians_delta(self) -> f32 { ... } fn set_max_radians_delta(self, value: f32) { ... } fn max_magnitude_delta(self) -> f32 { ... } fn set_max_magnitude_delta(self, value: f32) { ... } fn slerp_speed(self) -> f32 { ... } fn set_slerp_speed(self, value: f32) { ... } fn pivot_offset_from_root(self) -> Vector3 { ... } fn set_pivot_offset_from_root(self, value: Vector3) { ... } fn min_distance(self) -> f32 { ... } fn set_min_distance(self, value: f32) { ... } fn max_root_angle(self) -> f32 { ... } fn set_max_root_angle(self, value: f32) { ... } fn last_target(self) -> Transform { ... } fn set_last_target(self, value: Transform) { ... } fn switch_weight(self) -> f32 { ... } fn set_switch_weight(self, value: f32) { ... } fn switch_weight_v(self) -> f32 { ... } fn set_switch_weight_v(self, value: f32) { ... } fn weight_v(self) -> f32 { ... } fn set_weight_v(self, value: f32) { ... } fn last_position(self) -> Vector3 { ... } fn set_last_position(self, value: Vector3) { ... } fn dir(self) -> Vector3 { ... } fn set_dir(self, value: Vector3) { ... } fn last_smooth_towards_target(self) -> bool { ... } fn set_last_smooth_towards_target(self, value: bool) { ... }
}

Provided Methods§

Source

fn ik(self) -> LookAtIK

Source

fn set_ik(self, value: LookAtIK)

Source

fn target(self) -> Transform

Source

fn set_target(self, value: Transform)

Source

fn weight(self) -> f32

Source

fn set_weight(self, value: f32)

Source

fn offset(self) -> Vector3

Source

fn set_offset(self, value: Vector3)

Source

fn target_switch_smooth_time(self) -> f32

Source

fn set_target_switch_smooth_time(self, value: f32)

Source

fn weight_smooth_time(self) -> f32

Source

fn set_weight_smooth_time(self, value: f32)

Source

fn smooth_turn_towards_target(self) -> bool

Source

fn set_smooth_turn_towards_target(self, value: bool)

Source

fn max_radians_delta(self) -> f32

Source

fn set_max_radians_delta(self, value: f32)

Source

fn max_magnitude_delta(self) -> f32

Source

fn set_max_magnitude_delta(self, value: f32)

Source

fn slerp_speed(self) -> f32

Source

fn set_slerp_speed(self, value: f32)

Source

fn pivot_offset_from_root(self) -> Vector3

Source

fn set_pivot_offset_from_root(self, value: Vector3)

Source

fn min_distance(self) -> f32

Source

fn set_min_distance(self, value: f32)

Source

fn max_root_angle(self) -> f32

Source

fn set_max_root_angle(self, value: f32)

Source

fn last_target(self) -> Transform

Source

fn set_last_target(self, value: Transform)

Source

fn switch_weight(self) -> f32

Source

fn set_switch_weight(self, value: f32)

Source

fn switch_weight_v(self) -> f32

Source

fn set_switch_weight_v(self, value: f32)

Source

fn weight_v(self) -> f32

Source

fn set_weight_v(self, value: f32)

Source

fn last_position(self) -> Vector3

Source

fn set_last_position(self, value: Vector3)

Source

fn dir(self) -> Vector3

Source

fn set_dir(self, value: Vector3)

Source

fn last_smooth_towards_target(self) -> bool

Source

fn set_last_smooth_towards_target(self, value: bool)

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§