Edytuj

Udostępnij za pośrednictwem


GCMicroGamepad.AllowsRotation Property

Definition

Gets or sets a value that controls whether the D-pad changes between portrait and landscape mode on the controller as its orientation changes.

public virtual bool AllowsRotation { [Foundation.Export("allowsRotation")] get; [Foundation.Export("setAllowsRotation:")] set; }
member this.AllowsRotation : bool with get, set

Property Value

true if the D-pad matches the device's orientation. Otherwise, false. The default is false.

Attributes

Applies to