Share via


GKGoal.GetGoalToCohere(GKAgent[], Single, Single) Method

Definition

[Foundation.Export("goalToCohereWithAgents:maxDistance:maxAngle:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static GameplayKit.GKGoal GetGoalToCohere(GameplayKit.GKAgent[] agents, float maxDistance, float maxAngle);
[<Foundation.Export("goalToCohereWithAgents:maxDistance:maxAngle:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetGoalToCohere : GameplayKit.GKAgent[] * single * single -> GameplayKit.GKGoal

Parameters

agents
GKAgent[]
maxDistance
Single
maxAngle
Single

Returns

Attributes

Applies to