Package org.robovm.apple.gameplaykit
Class GKMeshGraph<NodeType extends GKGraphNode2D>
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.gameplaykit.GKGraph
org.robovm.apple.gameplaykit.GKMeshGraph<NodeType>
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class GKMeshGraph<NodeType extends GKGraphNode2D> extends GKGraph
- Since:
- Available in iOS 10.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGKMeshGraph.GKMeshGraphPtr<NodeType extends GKGraphNode2D>Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKGraph
GKGraph.GKGraphPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description GKMeshGraph()GKMeshGraph(float bufferRadius, VectorFloat2 min, VectorFloat2 max)GKMeshGraph(float bufferRadius, VectorFloat2 min, VectorFloat2 max, Class<?> nodeClass)GKMeshGraph(NSArray<GKGraphNode> nodes)protectedGKMeshGraph(NSObject.Handle h, long handle)protectedGKMeshGraph(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidaddObstacles(NSArray<GKPolygonObstacle> obstacles)Class<?>classForGenericArgumentAtIndex(long index)voidconnectNodeUsingObstacles(NodeType node)floatgetBufferRadius()NSArray<GKPolygonObstacle>getObstacles()longgetTriangleCount()GKMeshGraphTriangulationModegetTriangulationMode()protected longinit(float bufferRadius, VectorFloat2 min, VectorFloat2 max)protected longinit(float bufferRadius, VectorFloat2 min, VectorFloat2 max, Class<?> nodeClass)voidremoveObstacles(NSArray<GKPolygonObstacle> obstacles)voidsetTriangulationMode(GKMeshGraphTriangulationMode v)static booleansupportsSecureCoding()GKTriangletriangleAtIndex(long index)voidtriangulate()Methods inherited from class org.robovm.apple.gameplaykit.GKGraph
addNodes, connectNodeToLowestCostNode, encode, findPathBetweenNodes, getNodes, init, init, removeNodesMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
GKMeshGraph
public GKMeshGraph() -
GKMeshGraph
-
GKMeshGraph
-
GKMeshGraph
-
GKMeshGraph
-
GKMeshGraph
-
-
Method Details
-
getObstacles
-
getBufferRadius
public float getBufferRadius() -
getTriangulationMode
-
setTriangulationMode
-
getTriangleCount
public long getTriangleCount() -
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
-
init
-
addObstacles
-
removeObstacles
-
connectNodeUsingObstacles
-
triangulate
public void triangulate() -
triangleAtIndex
-
classForGenericArgumentAtIndex
-