Skip to main content

IInteractionTrigger_CameraPosition

Trait IInteractionTrigger_CameraPosition 

Source
pub trait IInteractionTrigger_CameraPosition: IObject {
    // Provided methods
    fn look_at_target(self) -> Collider { ... }
    fn set_look_at_target(self, value: Collider) { ... }
    fn direction(self) -> Vector3 { ... }
    fn set_direction(self, value: Vector3) { ... }
    fn max_distance(self) -> f32 { ... }
    fn set_max_distance(self, value: f32) { ... }
    fn max_angle(self) -> f32 { ... }
    fn set_max_angle(self, value: f32) { ... }
    fn fix_y_axis(self) -> bool { ... }
    fn set_fix_y_axis(self, value: bool) { ... }
}

Provided Methods§

Source

fn look_at_target(self) -> Collider

Source

fn set_look_at_target(self, value: Collider)

Source

fn direction(self) -> Vector3

Source

fn set_direction(self, value: Vector3)

Source

fn max_distance(self) -> f32

Source

fn set_max_distance(self, value: f32)

Source

fn max_angle(self) -> f32

Source

fn set_max_angle(self, value: f32)

Source

fn fix_y_axis(self) -> bool

Source

fn set_fix_y_axis(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§