Method AddRegion
AddRegion(RideVector2[])
Specifies a new polygonal region
Declaration
RideID AddRegion(RideVector2[] region)
Parameters
Type | Name | Description |
---|---|---|
RideVector2[] | region | ordered array of points that specify the verticies of the region |
Returns
Type | Description |
---|---|
RideID | a generated RideID for the region |
AddRegion(RideVector2[], RegionType)
Specifies a new polygonal region
Declaration
RideID AddRegion(RideVector2[] region, RegionType type)
Parameters
Type | Name | Description |
---|---|---|
RideVector2[] | region | ordered array of points that specify the verticies of the region |
RegionType | type | type of the region |
Returns
Type | Description |
---|---|
RideID | a generated RideID for the region |