| 
    Arma Reforger Script API
    
   | 
 
Static Public Member Functions | |
| static bool | GetAnchorsAndTesselatedPointsFromShape (notnull ShapeEntity shapeEntity, float offset, out notnull array< vector > offsetAnchorPoints, out notnull array< vector > offsetTesselatedPoints, out array< int > offsetAnchorIndices=null) | 
| static bool | GetAnchorsAndTesselatedPointsFromShape (notnull ShapeEntity shapeEntity, vector offset, bool yOffsetInShapeSpace, out notnull array< vector > offsetAnchorPoints, out notnull array< vector > offsetTesselatedPoints, out array< int > offsetAnchorIndices=null) | 
| static array< vector > | GetRelativeOffsetPointsFromShape (notnull ShapeEntity shapeEntity, float offset, bool isShapeClosed) | 
| static bool | RemovePointsCloseToShape (notnull ShapeEntity shapeEntity, float deletionRadius, inout notnull array< vector > points) | 
| static bool | RemovePointsCloseToShapeXZ (notnull ShapeEntity shapeEntity, float deletionRadius, inout notnull array< vector > points) | 
| static bool | SnapRelativePointsToGround (notnull ShapeEntity shapeEntity, inout notnull array< vector > points) | 
| static bool | ReducePointsDensity (float minDistanceBetweenPoints, inout notnull array< vector > points) | 
| static bool | ReducePointsDensityXZ (float minDistanceBetweenPoints, inout notnull array< vector > points) | 
| static array< vector > | GetOffsetPointsFromPoints (notnull array< vector > points, float offset, bool isShapeClosed) | 
| A helpful wrapper for users to get offset points easily.   | |
| static array< vector > | GetOffsetPointsFromPoints (notnull array< vector > points, vector offset, bool yOffsetInShapeSpace, bool isShapeClosed) | 
| A helpful wrapper for users to get offset points easily.   | |
| static array< ref SCR_Ray > | GetRaysFromPoints (notnull array< vector > points, bool isShapeClosed) | 
| static void | FlattenRays (inout notnull array< ref SCR_Ray > rays) | 
| Modifies the provided array and flattens rays to 2D direction (XZ plane)   | |
| static array< vector > | GetOffsetPointsFromRays (notnull array< ref SCR_Ray > rays, float offset) | 
| static array< vector > | GetOffsetPointsFromRays (notnull array< ref SCR_Ray > rays, vector offset, bool yOffsetInShapeSpace) | 
Protected Member Functions | |
| void | SCR_ParallelShapeHelper () | 
Static Protected Member Functions | |
| static vector | GetOffsetPoint (vector position, vector direction, vector offset, bool yOffsetInShapeSpace) | 
      
  | 
  protected | 
      
  | 
  static | 
Modifies the provided array and flattens rays to 2D direction (XZ plane)
| [in,out] | rays | 
      
  | 
  static | 
| [in] | shapeEntity | |
| [in] | offset | |
| [out] | offsetAnchorPoints | |
| [out] | offsetTesselatedPoints | |
| [out] | offsetAnchorIndices | not created/filled if not provided | 
      
  | 
  static | 
| [in] | shapeEntity | |
| [in] | offset | |
| [in] | yOffsetInShapeSpace | offset Y in shape's up vector, otherwise in point's up vector | 
| [out] | offsetAnchorPoints | |
| [out] | offsetTesselatedPoints | |
| [out] | offsetAnchorIndices | not created/filled if not provided | 
      
  | 
  staticprotected | 
| [in] | position | |
| [in] | direction | |
| [in] | offset | |
| [in] | yOffsetInShapeSpace | offset Y in absolute vector up, otherwise in direction's up | 
      
  | 
  static | 
A helpful wrapper for users to get offset points easily.
| [in] | points | |
| [in] | offset | |
| [in] | isShapeClosed | 
      
  | 
  static | 
A helpful wrapper for users to get offset points easily.
| [in] | points | |
| [in] | offset | |
| [in] | yOffsetInShapeSpace | offset Y in shape's up vector, otherwise in point's up vector | 
| [in] | isShapeClosed | 
      
  | 
  static | 
| [in] | rays | can be of any size | 
| [in] | offset | 
      
  | 
  static | 
| [in] | rays | can be of any size | 
| [in] | offset | |
| [in] | yOffsetInShapeSpace | offset Y in shape's up vector, otherwise in point's up vector | 
      
  | 
  static | 
| [in] | points | a minimum of two points is required | 
| [in] | isShapeClosed | 
      
  | 
  static | 
| [in] | shapeEntity | |
| [in] | offset | |
| [in] | isShapeClosed | 
      
  | 
  static | 
| [in] | minDistanceBetweenPoints | 3D distance between consecutive points | 
| [in,out] | points | min 3 points | 
      
  | 
  static | 
| [in] | minDistanceBetweenPoints | 2D distance between consecutive points | 
| [in,out] | points | 
      
  | 
  static | 
| [in] | shapeEntity | |
| [in] | deletionRadius | 3D deletion radius - must be greater than zero | 
| [in,out] | points | points relative to the shape | 
      
  | 
  static | 
| [in] | shapeEntity | |
| [in] | deletionRadius | 2D deletion radius - must be greater than zero | 
| [in,out] | points | 
      
  | 
  static | 
| [in] | shapeEntity | |
| [in,out] | points |