acquire method
VrInputEvent
acquire({
- required VrInputType type,
- required VrInputSource source,
- String? targetId,
- Map<
String, dynamic> ? data, - 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(),
);
}