Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.NavMeshPathGoalEvaluator

Extends
Object
Modifiers
native ( AI )

This can have state. This is the primary difference between GoalEvaluators and PathContraints. Additionally, once the Goal's EvaluateGoal returns TRUE that path search will end. A goal is a great place to have EvaluateGoal aggregate all of the possible "goals" that have passed the constraints. At some point (time based, search space based) EvaluateGoal will return TRUE and then DetermineFinalGoal will be called which one can then do final evaluation of the valid (from the path constraints) goals. Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.NavMeshPathGoalEvaluator

Direct Known Subclasses:

NavMeshGoal_At, NavMeshGoal_ClosestActorInList, NavMeshGoal_GenericFilterContainer, NavMeshGoal_Null, NavMeshGoal_OutOfViewFrom, NavMeshGoal_PolyEncompassesAI, NavMeshGoal_Random, NavMeshGoal_WithinDistanceEnvelope

Constants Summary
Inherited Contants from Core.Object
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad

Variables Summary
boolbAlwaysCallEvaluateGoal
intMaxPathVisits
NavMeshPathGoalEvaluatorNextEvaluator
intNumNodesProcessed
intNumNodesThrownOut
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Core.Object
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
BiasedGoalActor
Goal, ExtraCost
Inherited Structures from Core.Object
Array_Mirror, BitArray_Mirror, BoneAtom, Box, BoxSphereBounds, Color, Cylinder, double, FColorVertexBuffer_Mirror, Guid, IndirectArray_Mirror, InlinePointerArray_Mirror, InterpCurveFloat, InterpCurveLinearColor, InterpCurvePointFloat, InterpCurvePointLinearColor, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, OctreeElementId, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, RenderCommandFence_Mirror, Rotator, Set_Mirror, SHVector, SHVectorRGB, SparseArray_Mirror, TAlphaBlend, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
eventString GetDumpString ()))
event Recycle ()))
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, Atan2, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClampRotAxisFromBase, ClampRotAxisFromRange, ClassIsChildOf, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, DebugBreak, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, EvalInterpCurveFloat, EvalInterpCurveVector, EvalInterpCurveVector2D, Exp, FCeil, FClamp, FCubicInterp, FFloor, FindDeltaAngle, FindObject, FInterpConstantTo, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, float, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetBuildChangelistNumber, GetDotDistance, GetEngineVersion, GetEnum, GetFuncName, GetHeadingAngle, GetMappedRangeValue, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetRightMost, GetRotatorAxis, GetScriptTrace, GetStateName, GetSystemTime, GetUnAxes, GotoState, InCylinder, InStr, InverseTransformNormal, InverseTransformVector, IsA, IsChildState, IsInState, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, LerpColor, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, MakeRotationMatrix, MakeRotationTranslationMatrix, MakeRotator, MatrixGetAxis, MatrixGetOrigin, MatrixGetRotator, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, NoZDot, OrthoRotation, ParseLocalizedPropertyPath, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointDistToSegment, PointProjectToPlane, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, RTransform, SaveConfig, SClampRotAxis, ScriptTrace, SetUTracing, Sin, Split, SplitString, Sqrt, Square, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformNormal, TransformVector, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VRandCone, VRandCone2, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

bAlwaysCallEvaluateGoal Source code

var bool bAlwaysCallEvaluateGoal;
this bool determines if this evaluator's 'EvaluageGoal' function gets called even after a determination has been made about the current goal. E.G. a previous evaluator returned FALSE indicating the search was not complete, but we still want EvaluateGoal called even when the outcome has already been decided. This is useful for evaluators that need to see all incoming candidates regardless of whether or not another evaluator is throwing htem out

MaxPathVisits Source code

var protected int MaxPathVisits;
maximum number of NavigationPoints to test before giving up

NextEvaluator Source code

var transient protected NavMeshPathGoalEvaluator NextEvaluator;
Next goal evaluator

NumNodesProcessed Source code

var transient int NumNodesProcessed;
Debug var to keep track of how many nodes this goal evaluator has processed

NumNodesThrownOut Source code

var transient int NumNodesThrownOut;
Debug var to keep track of how many nodes this goal evaluator has nixed


Structures Detail

BiasedGoalActor Source code

struct BiasedGoalActor
{
var int ExtraCost;
var Actor Goal;
};
list of goals to search for
ExtraCost:
an additional cost (in units) to add to the pathfinding distance to bias against this choice (e.g. if one choice is enough better than the others that it should be prioritized if it's only a little bit further away)
Goal:
the goal to search for


Functions Detail

GetDumpString Source code

event String GetDumpString ( ) )

Recycle Source code

event Recycle ( ) )


Defaultproperties

defaultproperties
{
	MaxPathVisits=1024
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:53.002 - Created with UnCodeX