rlmesh::adapters::Action
Ordered action actuators plus optional clipping bounds.
struct ActionFields
Associated functions
Methods
components
field[source]components: Vec<Actuator>Action actuators in vector order.
clip
field[source]clip: Option<(f64, f64)>Optional (low, high) clip applied to the final vector.
new
associated function[source]fn new(items: impl IntoIterator<Item = Actuator>) -> SelfConstruct ordered action actuators without clipping.
dim
method[source]fn dim(&self) -> u32Total declared action width.
Trait implementations
- impl Clone for Action
- impl Debug for Action
- impl StructuralPartialEq for Action
- impl PartialEq for Action
- impl Serialize for Action
- impl<'de> Deserialize<'de> for Action
- impl Display for Action