GKGridGraph.FromGridStartingAt 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性