GKGoal.GetGoalToSeparate(GKAgent[], Single, Single) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Méthode de fabrique pour produire un GKGoal approprié pour le comportement de flocage, en évitant d’autres agents (voir aussi GetGoalToCohere(GKAgent[], Single, Single) et GetGoalToAlign(GKAgent[], Single, Single)).
[Foundation.Export("goalToSeparateFromAgents:maxDistance:maxAngle:")]
public static GameplayKit.GKGoal GetGoalToSeparate (GameplayKit.GKAgent[] agents, float maxDistance, float maxAngle);
static member GetGoalToSeparate : GameplayKit.GKAgent[] * single * single -> GameplayKit.GKGoal
Paramètres
- agents
- GKAgent[]
- maxDistance
- Single
- maxAngle
- Single
Retours
- Attributs