Package org.recast4j.recast
Class AreaModification
java.lang.Object
org.recast4j.recast.AreaModification
public class AreaModification
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static intRC_AREA_FLAGS_MASK -
Constructor Summary
Constructors Constructor Description AreaModification(int value)Mask is set to all available bits, which means value is fully appliedAreaModification(int value, int mask)AreaModification(AreaModification other) -
Method Summary
Modifier and Type Method Description intapply(int area)intgetMaskedValue()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
RC_AREA_FLAGS_MASK
public static final int RC_AREA_FLAGS_MASK- See Also:
- Constant Field Values
-
-
Constructor Details
-
AreaModification
public AreaModification(int value)Mask is set to all available bits, which means value is fully applied- Parameters:
value- The area id to apply. [Limit: <= #RC_AREA_FLAGS_MASK]
-
AreaModification
public AreaModification(int value, int mask)- Parameters:
value- The area id to apply. [Limit: <= #RC_AREA_FLAGS_MASK]mask- Bitwise mask used when applying value. [Limit: <= #RC_AREA_FLAGS_MASK]
-
AreaModification
-
-
Method Details
-
getMaskedValue
public int getMaskedValue() -
apply
public int apply(int area)
-