Share via


IGCAxis2DInput Interface

Definition

This interface represents the Objective-C protocol GCAxis2DInput.

[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="GCAxis2DInput", WrapperType=typeof(GameController.GCAxis2DInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="valueDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="ValueDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDGCAxis2DInputValueDidChangeCallback) }, PropertyType=typeof(GameController.GCAxis2DInputValueDidChangeCallback), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDGCAxis2DInputValueDidChangeCallback), Selector="valueDidChangeHandler", SetterSelector="setValueDidChangeHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="value", IsProperty=true, IsRequired=true, IsStatic=false, Name="Value", PropertyType=typeof(GameController.GCPoint2), Selector="value")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastValueTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastValueTimestamp", PropertyType=typeof(System.Double), Selector="lastValueTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastValueLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastValueLatency", PropertyType=typeof(System.Double), Selector="lastValueLatency")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")]
public interface IGCAxis2DInput : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="GCAxis2DInput", WrapperType=typeof(GameController.GCAxis2DInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="valueDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="ValueDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDGCAxis2DInputValueDidChangeCallback) }, PropertyType=typeof(GameController.GCAxis2DInputValueDidChangeCallback), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDGCAxis2DInputValueDidChangeCallback), Selector="valueDidChangeHandler", SetterSelector="setValueDidChangeHandler:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="value", IsProperty=true, IsRequired=true, IsStatic=false, Name="Value", PropertyType=typeof(GameController.GCPoint2), Selector="value")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastValueTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastValueTimestamp", PropertyType=typeof(System.Double), Selector="lastValueTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastValueLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastValueLatency", PropertyType=typeof(System.Double), Selector="lastValueLatency")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")>]
type IGCAxis2DInput = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Analog
CanWrap
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
LastValueLatency
LastValueTimestamp
Sources
Value
ValueDidChangeHandler

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to