Click or drag to resize

AvoidPolygonInfoT Constructor

Namespace:  ff14bot.Pathing.Avoidance
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public AvoidPolygonInfo(
	Func<bool> condition,
	Func<T, Vector3> locationProducer,
	Func<T, float> rotationProducer,
	Func<T, float> scaleProducer,
	Func<T, float> heightProducer,
	Func<T, Vector2[]> pointsProducer,
	Func<IEnumerable<T>> collectionProducer,
	Func<Vector3> leashPointProducer,
	float leashRadius = 40f,
	bool ignoreIfBlocking = false,
	Func<T, bool> objectValidator = null,
	AvoidancePriority priority = AvoidancePriority.Medium
)

Parameters

condition
Type: SystemFuncBoolean
The condition.
locationProducer
Type: SystemFuncT, Vector3
Produces the location. Polygon is rotated and scaled around produced location on the xy plane.
rotationProducer
Type: SystemFuncT, Single
Produces the polygon's rotation in radians.
scaleProducer
Type: SystemFuncT, Single
Produces the polygon's scale
heightProducer
Type: SystemFuncT, Single
Produces the height of the polygon. Half of the produced height extends above location produced by [!:locationProducer] and the other half below
pointsProducer
Type: SystemFuncT, Vector2
Produces the points that form the polygon
collectionProducer
Type: SystemFuncIEnumerableT
Produces a collection of objects that should be avoided.
leashPointProducer
Type: SystemFuncVector3
The leash point producer. Can be null. Used in conjunction with [!:leashRadius]
leashRadius (Optional)
Type: SystemSingle
The leash radius. If [!:leashPointProducer] is not null, bot will not navigate furthar than this distance from point returned from [!:leashPointProducer] while running out of avoid
ignoreIfBlocking (Optional)
Type: SystemBoolean
Ignore avoid if set to true and it can't be navigated around.
objectValidator (Optional)
Type: SystemFuncT, Boolean
Indecates whether objects produced by [!:collectionProducer] are valid
priority (Optional)
Type: ff14bot.Pathing.AvoidanceAvoidancePriority
The priority.
See Also