pub struct Condition {
pub mode: i64,
pub parameter: u32,
pub threshold: f32,
pub exit_time: f32,
}Expand description
A transition condition (ConditionConstant): its mode (1 true, 2 false, 3 greater, 4 less, 6 equals, 7 not equal,
as Unity numbers them), the CRC-32 of its parameter’s name, its threshold and, for an exit-time condition, the time.
Fields§
§mode: i64m_ConditionMode.
parameter: u32m_EventID: the CRC-32 of the parameter’s name.
threshold: f32m_EventThreshold.
exit_time: f32m_ExitTime.
Trait Implementations§
impl Copy for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnsafeUnpin for Condition
impl UnwindSafe for Condition
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