API reference
API reference
Select your platform
No SDKs available
No versions available

FMRUKRandomSpawnSettings Struct

Holds the settings which are used for generating random positions. It offers several attributes to be configured, such as which room to use, what actor to spawn, scene labels to use and much more. This struct is used by the position generator.

Fields

When the scene data is loaded, this controls what room(s) the position generator will be used in.
When an actor instance is reference here, this actor will be moved around. If you'd need to spawn new actors, use ActorClass.
Reference the specific actor class for spawning.
How many instances to spawn at the random generated position per room. Note: If using an ActorInstance this property is ignored
Maximum number of times to attempt spawning/moving an object before giving up.
The type of surface by which to limit the generation.
The labels to include or exclude.
If enabled then the spawn position will be checked to make sure there is no overlap with physics colliders including themselves.
Required free space for the object.
The CollisionChannel to use.
The clearance distance required in front of the surface in order for it to be considered a valid spawn position.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon