pub struct InputAxis {Show 15 fields
pub altNegativeButton: String,
pub altPositiveButton: String,
pub axis: i32,
pub dead: f32,
pub descriptiveName: String,
pub descriptiveNegativeName: String,
pub gravity: f32,
pub invert: bool,
pub joyNum: i32,
pub m_Name: String,
pub negativeButton: String,
pub positiveButton: String,
pub sensitivity: f32,
pub snap: bool,
pub _type: Option<i32>,
}
Expand description
InputAxis is a sub class of the Unity engine since version 3.4.0.
Fields§
§altNegativeButton: String
§altPositiveButton: String
§axis: i32
§dead: f32
§descriptiveName: String
§descriptiveNegativeName: String
§gravity: f32
§invert: bool
§joyNum: i32
§m_Name: String
§negativeButton: String
§positiveButton: String
§sensitivity: f32
§snap: bool
§_type: Option<i32>
i32: (3.4.0 - 2022.3.2f1)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputAxis
impl<'de> Deserialize<'de> for InputAxis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InputAxis
impl RefUnwindSafe for InputAxis
impl Send for InputAxis
impl Sync for InputAxis
impl Unpin for InputAxis
impl UnwindSafe for InputAxis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more