Table of Contents

Class DeviceCaptureChangedEventArgs

Namespace
Stride.Input
Assembly
Stride.Input.dll

Describes a change of the owner that holds a device, or one pointer of a device.

public sealed class DeviceCaptureChangedEventArgs : EventArgs
Inheritance
object
DeviceCaptureChangedEventArgs
Inherited Members
Extension Methods

Constructors

DeviceCaptureChangedEventArgs(IInputDevice, int?, object, object)

public DeviceCaptureChangedEventArgs(IInputDevice device, int? pointerId, object previousOwner, object newOwner)

Parameters

device IInputDevice
pointerId int?
previousOwner object
newOwner object

Properties

Device

Gets the device whose capture changed.

public IInputDevice Device { get; }

Property Value

IInputDevice

NewOwner

Gets the owner that holds the device or pointer now, or null when it was released.

public object NewOwner { get; }

Property Value

object

PointerId

Gets the pointer whose capture changed, or null when the whole device changed.

public int? PointerId { get; }

Property Value

int?

PreviousOwner

Gets the owner that held the device or pointer before, or null.

public object PreviousOwner { get; }

Property Value

object