PointerInputProperties Class
The properties of the contact of a pointer (https://w3c.github.io/pointerevents/#pointerevent-interface): its geometry, its pressure and the orientation of its transducer.
public sealed class PointerInputProperties : IEquatable<PointerInputProperties>- Implements
Constructors
| Name | Description |
|---|---|
| PointerInputProperties() |
PointerInputProperties()
UserInput.cspublic PointerInputProperties()No documentation is available.
Properties
| Name | Description |
|---|---|
| AltitudeAngle | Gets the altitude of the transducer, in radians, or null to compute it from the tilt. |
| AzimuthAngle | Gets the azimuth of the transducer, in radians, or null to compute it from the tilt. |
| Height | Gets the height, in CSS pixels, of the contact geometry. |
| Pressure | Gets the normalized pressure, or null for the default one (0.5 while a button is pressed or the pointer is in contact, else 0). |
| TangentialPressure | Gets the normalized tangential pressure, between -1 and 1. |
| TiltX | Gets the tilt of the transducer along the X axis, in degrees, or null to compute it from the spherical angles. |
| TiltY | Gets the tilt of the transducer along the Y axis, in degrees, or null to compute it from the spherical angles. |
| Twist | Gets the clockwise rotation of the transducer around its axis, in degrees. |
| Width | Gets the width, in CSS pixels, of the contact geometry. |
AltitudeAngle
UserInput.csAzimuthAngle
UserInput.csHeight
UserInput.csPressure
UserInput.csTangentialPressure
UserInput.csTiltX
UserInput.csTiltY
UserInput.csTwist
UserInput.csWidth
UserInput.csMethods
| Name | Description |
|---|---|
| Equals(PointerInputProperties?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(PointerInputProperties?)
public bool Equals(PointerInputProperties? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(PointerInputProperties?, PointerInputProperties?) | |
| operator !=(PointerInputProperties?, PointerInputProperties?) |
operator ==(PointerInputProperties?, PointerInputProperties?)
public static bool operator ==(PointerInputProperties? left, PointerInputProperties? right)No documentation is available.
operator !=(PointerInputProperties?, PointerInputProperties?)
public static bool operator !=(PointerInputProperties? left, PointerInputProperties? right)No documentation is available.