Edit

Share via


SKNodeFocusBehavior Enum

Definition

Enumerates the various ways a SKNode may be focusable.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SKNodeFocusBehavior
type SKNodeFocusBehavior = 
Inheritance
SKNodeFocusBehavior
Attributes

Fields

Name Value Description
None 0

The SKNode is not focusable.

Occluding 1

The SKNode is not focusable. It prevents nodes it obscures from being focused.

Focusable 2

The SKNode is focusable. It prevents nodes it obscures from being focused.

Applies to