onTransformSync method

  1. @override
  2. @protected
void onTransformSync(
  1. Vector3 position,
  2. Vector3 velocity
)
override

Concrete-source hook receiving this frame's world position and velocity while the source is positional and mounted under an engine. Subclasses overriding update must call super.update to keep receiving it.

Implementation

@override
@protected
void onTransformSync(Vector3 position, Vector3 velocity) {
  _liveVoice?.update3d(position, velocity, attenuation);
}