Interface IRegionSystem
Interface for system for defining and monitoring regions of interest
Inherited Members
Namespace: Ride
Assembly: cs.temp.dll.dll
Syntax
public interface IRegionSystem : IRideSystem, IApiInject, IIdentity
Methods
Name | Description |
---|---|
AddRegion(RideVector2[]) | Specifies a new polygonal region |
AddRegion(RideVector2[], RegionType) | Specifies a new polygonal region |
GetRegionPoints(RideID) | Get the points that define a region identified by its RideID |
GetRegions() | Get the RideIDs of all regions in this system |
GetRegionsByPosition(RideVector2) | Get the RideIDs of all regions that overlap wtih a given 2-D point |
GetRegionsByPosition(RideVector3) | Get the RideIDs of all regions that overlap with a given 3-D point |
GetRegionType(RideID) | Get the RegionType of a region known to the system. |
MonitorAgent(RideID) | Add an agent as one to be monitored by this system. World events "agentEnterRegion" and "agentExitRegion" will be dispatched accordingly. RegionChangeEvent data will be included. |
MonitorGroup(RideID) | Add a group as one to be monitored by this system. World events "groupEnterRegion" and "groupExitRegion" will be dispatched accordingly. RegionChangeEvent data will be included. |
PositionInRegion(RideVector2, RideID) | Determine if a 2-D point overlaps with a region |
PositionInRegion(RideVector3, RideID) | Determine if a 3-D point overlaps with a region |
RemoveAgent(RideID) | Remove an agent from those being monitored by this system. |
RemoveGroup(RideID) | Remove a group from those being monitored by this system. |
RemoveRegion(RideID) | Remove a region from those that are defined by this region system |
SetRegion(RideID, RideVector2[]) | |
SetRegion(RideID, RideVector2[], RegionType) | Replace the points of an existing region. |