pub type RootMotionSettings = RootMotionSettings<Handle<UiNode>>;Expand description
UI-specific root motion settings.
Aliased Type§
pub struct RootMotionSettings {
pub node: Handle<UiNode>,
pub ignore_x_movement: bool,
pub ignore_y_movement: bool,
pub ignore_z_movement: bool,
pub ignore_rotations: bool,
}Fields§
§node: Handle<UiNode>A handle to a node which movement will be extracted and put in root motion field of an animation to which these settings were set to.
ignore_x_movement: boolKeeps X part of the translational part of the motion.
ignore_y_movement: boolKeeps Y part of the translational part of the motion.
ignore_z_movement: boolKeeps Z part of the translational part of the motion.
ignore_rotations: boolKeeps rotational part of the motion.