- Dota 2
- smartprops
- CSmartPropSelectionCriteria
- CSmartPropSelectionCriteria_FaceEdgeCriteria
- Inherits
- CSmartPropSelectionCriteria
- Metadata
- MPropertyDescription: "Select faces by one of their edges, counted from the reference edge: whether the edge is open, or the angle to the face on its other side. For pieces that wrap around a corner, such as elbows, test the edge they wrap around and mark the face across it as occupied."MPropertyFriendlyName: "Filter Faces by Edge"MVDataComponentValidGrandParents: "CSmartPropElement_PlaceOnMesh"
Fields
NameTypeOffset
CSmartPropAttributeMeshFaceEdge = "BOTTOM"
MPropertyDescription: "Edge to test, relative to the reference edge which is the bottom edge."
MPropertyFriendlyName: "Edge"
MPropertyDescription: "When true, select faces whose edge is open. When false, select faces whose edge is closed and within the angle range."
MPropertyFriendlyName: "Open Edge"
MPropertyDescription: "Minimum angle in degrees between the face and the face across the edge, [ 0, 180 ]. 90 = box edge or inside corner, 180 = flat."
MPropertyFriendlyName: "Min Angle"
MPropertySuppressExpr: "m_bOpenEdge == true"
CSmartPropAttributeFloat = 180
MPropertyDescription: "Maximum angle in degrees between the face and the face across the edge, [ 0, 180 ]. 90 = box edge or inside corner, 180 = flat."
MPropertyFriendlyName: "Max Angle"
MPropertySuppressExpr: "m_bOpenEdge == true"
CSmartPropAttributeBool = true
MPropertyDescription: "When true, convex edges such as the edges of a box can match. Flat edges are both convex and concave."
MPropertyFriendlyName: "Convex"
MPropertySuppressExpr: "m_bOpenEdge == true"
CSmartPropAttributeBool = true
MPropertyDescription: "When true, concave edges such as inside corners can match. Flat edges are both convex and concave."
MPropertyFriendlyName: "Concave"
MPropertySuppressExpr: "m_bOpenEdge == true"
MPropertyDescription: "When true, select faces whose edge doesn't match."
MPropertyFriendlyName: "Invert"
MPropertyDescription: "When true, the face on the other side of the edge is marked as occupied for the faces tested after it and for the following elements, so FaceOccupied() is 1 on it. For pieces that cover both faces. Add a Filter Faces by Occupied that skips occupied faces so an edge shared by two matching faces only gets one piece."
MPropertyFriendlyName: "Mark Face Across Edge as Occupied"