共用方式為


GKGridGraph.FromGridStartingAt 方法

定義

多載

FromGridStartingAt(Vector2i, Int32, Int32, Boolean)
FromGridStartingAt(Vector2i, Int32, Int32, Boolean, Class)
FromGridStartingAt(Vector2i, Int32, Int32, Boolean, Type)

FromGridStartingAt(Vector2i, Int32, Int32, Boolean)

[Foundation.Export("graphFromGridStartingAt:width:height:diagonalsAllowed:")]
public static GameplayKit.GKGridGraph FromGridStartingAt (OpenTK.Vector2i position, int width, int height, bool diagonalsAllowed);
static member FromGridStartingAt : OpenTK.Vector2i * int * int * bool -> GameplayKit.GKGridGraph

參數

position
Vector2i
width
Int32
height
Int32
diagonalsAllowed
Boolean

傳回

屬性

適用於

FromGridStartingAt(Vector2i, Int32, Int32, Boolean, Class)

[Foundation.Export("graphFromGridStartingAt:width:height:diagonalsAllowed:nodeClass:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static GameplayKit.GKGridGraph FromGridStartingAt (OpenTK.Vector2i position, int width, int height, bool diagonalsAllowed, ObjCRuntime.Class aClass);
static member FromGridStartingAt : OpenTK.Vector2i * int * int * bool * ObjCRuntime.Class -> GameplayKit.GKGridGraph

參數

position
Vector2i
width
Int32
height
Int32
diagonalsAllowed
Boolean
aClass
Class

傳回

屬性

適用於

FromGridStartingAt(Vector2i, Int32, Int32, Boolean, Type)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static GameplayKit.GKGridGraph FromGridStartingAt (OpenTK.Vector2i position, int width, int height, bool diagonalsAllowed, Type type);
static member FromGridStartingAt : OpenTK.Vector2i * int * int * bool * Type -> GameplayKit.GKGridGraph

參數

position
Vector2i
width
Int32
height
Int32
diagonalsAllowed
Boolean
type
Type

傳回

屬性

適用於