Skip to main content

IAimController

Trait IAimController 

Source
pub trait IAimController: IMonoBehaviour {
Show 62 methods // Provided methods fn ik(self) -> AimIK { ... } fn set_ik(self, value: AimIK) { ... } fn weight(self) -> f32 { ... } fn set_weight(self, value: f32) { ... } fn target(self) -> Transform { ... } fn set_target(self, value: Transform) { ... } 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 smooth_damp_time(self) -> f32 { ... } fn set_smooth_damp_time(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 offset(self) -> Vector3 { ... } fn set_offset(self, value: Vector3) { ... } fn max_root_angle(self) -> f32 { ... } fn set_max_root_angle(self, value: f32) { ... } fn turn_to_target_field(self) -> bool { ... } fn set_turn_to_target_field(self, value: bool) { ... } fn turn_to_target_time(self) -> f32 { ... } fn set_turn_to_target_time(self, value: f32) { ... } fn use_animated_aim_direction(self) -> bool { ... } fn set_use_animated_aim_direction(self, value: bool) { ... } fn animated_aim_direction(self) -> Vector3 { ... } fn set_animated_aim_direction(self, value: Vector3) { ... } 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) { ... } fn turning_to_target(self) -> bool { ... } fn set_turning_to_target(self, value: bool) { ... } fn turn_to_target_mlp(self) -> f32 { ... } fn set_turn_to_target_mlp(self, value: f32) { ... } fn turn_to_target_mlp_v(self) -> f32 { ... } fn set_turn_to_target_mlp_v(self, value: f32) { ... } fn yaw_v(self) -> f32 { ... } fn set_yaw_v(self, value: f32) { ... } fn pitch_v(self) -> f32 { ... } fn set_pitch_v(self, value: f32) { ... } fn dir_mag_v(self) -> f32 { ... } fn set_dir_mag_v(self, value: f32) { ... }
}

Provided Methods§

Source

fn ik(self) -> AimIK

Source

fn set_ik(self, value: AimIK)

Source

fn weight(self) -> f32

Source

fn set_weight(self, value: f32)

Source

fn target(self) -> Transform

Source

fn set_target(self, value: Transform)

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 smooth_damp_time(self) -> f32

Source

fn set_smooth_damp_time(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 offset(self) -> Vector3

Source

fn set_offset(self, value: Vector3)

Source

fn max_root_angle(self) -> f32

Source

fn set_max_root_angle(self, value: f32)

Source

fn turn_to_target_field(self) -> bool

Source

fn set_turn_to_target_field(self, value: bool)

Source

fn turn_to_target_time(self) -> f32

Source

fn set_turn_to_target_time(self, value: f32)

Source

fn use_animated_aim_direction(self) -> bool

Source

fn set_use_animated_aim_direction(self, value: bool)

Source

fn animated_aim_direction(self) -> Vector3

Source

fn set_animated_aim_direction(self, value: Vector3)

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)

Source

fn turning_to_target(self) -> bool

Source

fn set_turning_to_target(self, value: bool)

Source

fn turn_to_target_mlp(self) -> f32

Source

fn set_turn_to_target_mlp(self, value: f32)

Source

fn turn_to_target_mlp_v(self) -> f32

Source

fn set_turn_to_target_mlp_v(self, value: f32)

Source

fn yaw_v(self) -> f32

Source

fn set_yaw_v(self, value: f32)

Source

fn pitch_v(self) -> f32

Source

fn set_pitch_v(self, value: f32)

Source

fn dir_mag_v(self) -> f32

Source

fn set_dir_mag_v(self, value: f32)

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§