Default state layout for pen devices.
public struct PenState : IInputStateTypeInfo
Fields
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
Declaration
Field Value
Declaration
public ushort displayIndex
Field Value
Type |
Description |
System.UInt16 |
|
Declaration
Field Value
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
Field Value
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public static FourCC kFormat { get; }
Property Value
Methods
Declaration
public FourCC GetFormat()
Returns
Implements
Declaration
public PenState WithButton(PenButton button, bool state = true)
Parameters
Type |
Name |
Description |
PenButton |
button |
|
System.Boolean |
state |
|
Returns