Свойство | Type | Description | |
---|---|---|---|
ComputedSteeringForce | Microsoft.Xna.Framework.Vector3 |
Méthode | Description | |
---|---|---|
CanCompute ( ) : bool |
Defines if the current steering behavior can execute or not. Override this method to add a global condition to this behavior |
|
Compute ( ) : void |
Computes the current Steering Behavior
|
|
ResetSteeringForce ( ) : void |
Méthode | Description | |
---|---|---|
SteeringBehavior ( ) : Microsoft.Xna.Framework |
Creates a new instance
|
|
SteeringBehavior ( float weight ) : Microsoft.Xna.Framework |
Creates a new instance
|
|
SteeringBehavior ( float weight, float probability ) : Microsoft.Xna.Framework |
Creates a new instance
|
protected SteeringBehavior ( ) : Microsoft.Xna.Framework | ||
Résultat | Microsoft.Xna.Framework |
protected SteeringBehavior ( float weight ) : Microsoft.Xna.Framework | ||
weight | float | The weight of this steering behavior when computed with others |
Résultat | Microsoft.Xna.Framework |
protected SteeringBehavior ( float weight, float probability ) : Microsoft.Xna.Framework | ||
weight | float | The weight of this steering behavior when computed with others |
probability | float | A float value between 0f and 1f defining the chances this steering behavior may compute when used with Dithering Computation algorithm |
Résultat | Microsoft.Xna.Framework |