Struct oxygengine_physics_2d::component::RigidBody2dPrefabProxy[][src]

pub struct RigidBody2dPrefabProxy {
    pub gravity_enabled: bool,
    pub linear_motion_interpolation_enabled: bool,
    pub position: Vector<Scalar>,
    pub rotation: Scalar,
    pub velocity: (Vector<Scalar>, Scalar),
    pub linear_damping: Scalar,
    pub angular_damping: Scalar,
    pub max_linear_velocity: Scalar,
    pub max_angular_velocity: Scalar,
    pub local_inertia: (Scalar, Scalar),
    pub local_center_of_mass: Point<Scalar>,
    pub status: RigidBody2dPrefabProxyBodyStatus,
    pub sleep_threshold: Option<Scalar>,
    pub kinematic_translations: Vector<bool>,
    pub kinematic_rotations: bool,
}

Fields

gravity_enabled: boollinear_motion_interpolation_enabled: boolposition: Vector<Scalar>rotation: Scalarvelocity: (Vector<Scalar>, Scalar)linear_damping: Scalarangular_damping: Scalarmax_linear_velocity: Scalarmax_angular_velocity: Scalarlocal_inertia: (Scalar, Scalar)local_center_of_mass: Point<Scalar>status: RigidBody2dPrefabProxyBodyStatussleep_threshold: Option<Scalar>kinematic_translations: Vector<bool>kinematic_rotations: bool

Trait Implementations

impl Clone for RigidBody2dPrefabProxy[src]

impl Debug for RigidBody2dPrefabProxy[src]

impl Default for RigidBody2dPrefabProxy[src]

impl<'de> Deserialize<'de> for RigidBody2dPrefabProxy[src]

impl Prefab for RigidBody2dPrefabProxy[src]

impl PrefabProxy<RigidBody2dPrefabProxy> for RigidBody2d[src]

impl Serialize for RigidBody2dPrefabProxy[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Resource for T where
    T: Any, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryDefault for T where
    T: Default

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.

impl<T> UserData for T where
    T: Clone + Any + Send + Sync
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,