GKGoal.GetGoalToStayOnPath(GKPath, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Factory method to create a GKGoal that attemps to maintain a position somewhere along the specified path
.
[Foundation.Export("goalToStayOnPath:maxPredictionTime:")]
public static GameplayKit.GKGoal GetGoalToStayOnPath (GameplayKit.GKPath path, double maxPredictionTime);
static member GetGoalToStayOnPath : GameplayKit.GKPath * double -> GameplayKit.GKGoal
Parameters
- path
- GKPath
- maxPredictionTime
- Double
Returns
- Attributes