acquire method

VrInputEvent acquire({
  1. required VrInputType type,
  2. required VrInputSource source,
  3. String? targetId,
  4. Map<String, dynamic>? data,
  5. bool active = true,
})

Implementation

VrInputEvent acquire({
  required VrInputType type,
  required VrInputSource source,
  String? targetId,
  Map<String, dynamic>? data,
  bool active = true,
}) {
  _ensureAlive();
  return pool.acquire(
    type: type,
    source: source,
    targetId: targetId,
    data: data,
    active: active,
    timestampMicrosecondsSinceEpoch: _clock(),
  );
}