Allows for fast generation of valid (inside the room, outside furniture bounds) random positions for content spawning.
Optional method to pin directly to surfaces. This class leverages the MRUKRoom.GenerateRandomPositionInRoom and MRUKRoom.GenerateRandomPositionOnSurface methods to provide a simple interface for spawning content in the room.
Member Enumerations
Enumeration SpawnLocation
Defines possible locations where objects can be spawned.
A maximum of MaxIterations attempts will be made to find a valid spawn position. MRUKRoom.GenerateRandomPositionInRoom and MRUKRoom.GenerateRandomPositionOnSurface are used to generate the positions.