Class PointRuleDef
Reusable finite-coordinate, bounds, path, and optional terrain checks.
public sealed class PointRuleDef
- Inheritance
-
PointRuleDef
- Inherited Members
Constructors
PointRuleDef(bool, float, Vec2?, Vec2?, IPointRule)
Creates shared point validation.
public PointRuleDef(bool requirePath = true, float pathTolerance = 0, Vec2? minimum = null, Vec2? maximum = null, IPointRule custom = null)
Parameters
requirePathboolpathTolerancefloatminimumVec2?maximumVec2?customIPointRule
Properties
Custom
Optional additional terrain or level policy.
public IPointRule Custom { get; }
Property Value
Maximum
Optional upper coordinate bounds.
public Vec2? Maximum { get; }
Property Value
- Vec2?
Minimum
Optional lower coordinate bounds.
public Vec2? Minimum { get; }
Property Value
- Vec2?
PathTolerance
Maximum elliptical distance to a lane before projection.
public float PathTolerance { get; }
Property Value
RequirePath
Requires proximity to a lane and projects accepted points onto it.
public bool RequirePath { get; }