Package org.robovm.apple.gameplaykit
Class GKMeshGraph
- 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
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class GKMeshGraph extends GKGraph
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKMeshGraph.GKMeshGraphPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKGraph
GKGraph.GKGraphPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKMeshGraph()
GKMeshGraph(float bufferRadius, VectorFloat2 min, VectorFloat2 max)
GKMeshGraph(float bufferRadius, VectorFloat2 min, VectorFloat2 max, java.lang.Class<?> nodeClass)
GKMeshGraph(NSArray<GKGraphNode> nodes)
protected
GKMeshGraph(NSObject.Handle h, long handle)
protected
GKMeshGraph(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObstacles(NSArray<GKPolygonObstacle> obstacles)
java.lang.Class<?>
classForGenericArgumentAtIndex(long index)
void
connectNodeUsingObstacles(GKGraphNode2D node)
float
getBufferRadius()
NSArray<GKPolygonObstacle>
getObstacles()
long
getTriangleCount()
GKMeshGraphTriangulationMode
getTriangulationMode()
protected long
init(float bufferRadius, VectorFloat2 min, VectorFloat2 max)
protected long
init(float bufferRadius, VectorFloat2 min, VectorFloat2 max, java.lang.Class<?> nodeClass)
void
removeObstacles(NSArray<GKPolygonObstacle> obstacles)
void
setTriangulationMode(GKMeshGraphTriangulationMode v)
GKTriangle
triangleAtIndex(long index)
void
triangulate()
-
Methods inherited from class org.robovm.apple.gameplaykit.GKGraph
addNodes, connectNodeToLowestCostNode, encode, findPathBetweenNodes, getNodes, init, init, removeNodes, supportsSecureCoding
-
Methods 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, willChangeValues
-
-
-
-
Constructor Detail
-
GKMeshGraph
public GKMeshGraph()
-
GKMeshGraph
protected GKMeshGraph(NSObject.Handle h, long handle)
-
GKMeshGraph
protected GKMeshGraph(NSObject.SkipInit skipInit)
-
GKMeshGraph
public GKMeshGraph(float bufferRadius, VectorFloat2 min, VectorFloat2 max, java.lang.Class<?> nodeClass)
-
GKMeshGraph
public GKMeshGraph(float bufferRadius, VectorFloat2 min, VectorFloat2 max)
-
GKMeshGraph
public GKMeshGraph(NSArray<GKGraphNode> nodes)
-
-
Method Detail
-
getObstacles
public NSArray<GKPolygonObstacle> getObstacles()
-
getBufferRadius
public float getBufferRadius()
-
getTriangulationMode
public GKMeshGraphTriangulationMode getTriangulationMode()
-
setTriangulationMode
public void setTriangulationMode(GKMeshGraphTriangulationMode v)
-
getTriangleCount
public long getTriangleCount()
-
init
protected long init(float bufferRadius, VectorFloat2 min, VectorFloat2 max, java.lang.Class<?> nodeClass)
-
init
protected long init(float bufferRadius, VectorFloat2 min, VectorFloat2 max)
-
addObstacles
public void addObstacles(NSArray<GKPolygonObstacle> obstacles)
-
removeObstacles
public void removeObstacles(NSArray<GKPolygonObstacle> obstacles)
-
connectNodeUsingObstacles
public void connectNodeUsingObstacles(GKGraphNode2D node)
-
triangulate
public void triangulate()
-
triangleAtIndex
public GKTriangle triangleAtIndex(long index)
-
classForGenericArgumentAtIndex
public java.lang.Class<?> classForGenericArgumentAtIndex(long index)
-
-