[][src]Struct qt_3d_extras::q_abstract_camera_controller::InputState

#[repr(C)]pub struct InputState { /* fields omitted */ }

C++ class: Qt3DExtras::QAbstractCameraController::InputState.

Methods

impl InputState[src]

pub unsafe fn alt_key_active(&self) -> bool[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the altKeyActive field.

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<InputState>>
) -> Ref<InputState>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: Qt3DExtras::QAbstractCameraController::InputState& Qt3DExtras::QAbstractCameraController::InputState::operator=(const Qt3DExtras::QAbstractCameraController::InputState& other).

pub unsafe fn left_mouse_button_active(&self) -> bool[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the leftMouseButtonActive field.

pub unsafe fn middle_mouse_button_active(&self) -> bool[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the middleMouseButtonActive field.

pub unsafe fn new() -> CppBox<InputState>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: [constructor] void Qt3DExtras::QAbstractCameraController::InputState::InputState().

pub unsafe fn new_copy(
    other: impl CastInto<Ref<InputState>>
) -> CppBox<InputState>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: [constructor] void Qt3DExtras::QAbstractCameraController::InputState::InputState(const Qt3DExtras::QAbstractCameraController::InputState& other).

pub unsafe fn right_mouse_button_active(&self) -> bool[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the rightMouseButtonActive field.

pub unsafe fn rx_axis_value(&self) -> c_float[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the rxAxisValue field.

pub unsafe fn ry_axis_value(&self) -> c_float[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the ryAxisValue field.

pub unsafe fn set_alt_key_active(&self, value: bool)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the altKeyActive field.

pub unsafe fn set_left_mouse_button_active(&self, value: bool)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the leftMouseButtonActive field.

pub unsafe fn set_middle_mouse_button_active(&self, value: bool)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the middleMouseButtonActive field.

pub unsafe fn set_right_mouse_button_active(&self, value: bool)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the rightMouseButtonActive field.

pub unsafe fn set_rx_axis_value(&self, value: c_float)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the rxAxisValue field.

pub unsafe fn set_ry_axis_value(&self, value: c_float)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the ryAxisValue field.

pub unsafe fn set_shift_key_active(&self, value: bool)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the shiftKeyActive field.

pub unsafe fn set_tx_axis_value(&self, value: c_float)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the txAxisValue field.

pub unsafe fn set_ty_axis_value(&self, value: c_float)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the tyAxisValue field.

pub unsafe fn set_tz_axis_value(&self, value: c_float)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Sets the value of the tzAxisValue field.

pub unsafe fn shift_key_active(&self) -> bool[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the shiftKeyActive field.

pub unsafe fn tx_axis_value(&self) -> c_float[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the txAxisValue field.

pub unsafe fn ty_axis_value(&self) -> c_float[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the tyAxisValue field.

pub unsafe fn tz_axis_value(&self) -> c_float[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns the value of the tzAxisValue field.

Trait Implementations

impl CppDeletable for InputState[src]

unsafe fn delete(&self)[src]

Calls C++ function: [destructor] void Qt3DExtras::QAbstractCameraController::InputState::~InputState().

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.