Struct amethyst_rhusics::PoseTransformSyncSystem[][src]

pub struct PoseTransformSyncSystem<P, R> { /* fields omitted */ }

System that copies transform information from BodyPose in rhusics into Transform in amethyst.

Type parameters:

  • P: Positional quantity (Point2<f32> or Point3<f32> in most scenarios).
  • R: Rotational quantity (Basis2<f32> or Quaternion<f32> in most scenarios).

Methods

impl<P, R> PoseTransformSyncSystem<P, R>
[src]

Create new system

Disable rotation sync

Disable translation sync

Trait Implementations

impl<'a, P, R> System<'a> for PoseTransformSyncSystem<P, R> where
    P: EuclideanSpace<Scalar = f32> + Convert<Output = Vector3<f32>> + Send + Sync + 'static,
    R: Rotation<P> + Convert<Output = Quaternion<f32>> + Send + Sync + 'static, 
[src]

The resource bundle required to execute this system. Read more

Executes the system with the required system data. Read more

Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more

Return the accessor from the [SystemData].

Sets up the Resources using Self::SystemData::setup.

Auto Trait Implementations

impl<P, R> Send for PoseTransformSyncSystem<P, R> where
    P: Send,
    R: Send

impl<P, R> Sync for PoseTransformSyncSystem<P, R> where
    P: Sync,
    R: Sync