Skip to content

ScatterInfo

Schema Type: JSON Type: object

No Description Found

assetBundle

Type: string

Relative filepath to an asset-bundle


count

Type: integer

Number of props to scatter


offset

Type: MVector3

Offset this prop once it is placed

See Definitions/MVector3

path

Type: string

Either the path in the scene hierarchy of the item to copy or the path to the object in the supplied asset bundle


rotation

Type: MVector3

Rotate this prop once it is placed

See Definitions/MVector3

scale

Type: number Default: 1

Scale this prop once it is placed


stretch

Type: MVector3

Scale each axis of the prop. Overrides `scale`.

See Definitions/MVector3

seed

Type: integer

The number used as entropy for scattering the props


minHeight

Type: null or number

The lowest height that these object will be placed at (only relevant if there's a heightmap)


maxHeight

Type: null or number

The highest height that these objects will be placed at (only relevant if there's a heightmap)


preventOverlap

Type: boolean Default: true

Should we try to prevent overlap between the scattered details? True by default. If it's affecting load times turn it off.


keepLoaded

Type: boolean

Should this detail stay loaded even if you're outside the sector (good for very large props)


parentPath

Type: string

The relative path from the planet to the parent of this object. Optional (will default to the root sector). This parent should be at the position where you'd like to scatter (which would usually be zero).