sm.world.getDirtySpheres

Returns an array of tables representing spheres where something has changed in the world.

Kind: Function

Environments: Game

Game

sm.world.getDirtySpheres( position, radius )

Open the full Game reference

The optional position and radius parameters will construct a sphere, and use it as a filter to only show results that intersect that sphere.

Parameters:

Name Type Description
position (optional) Vec3 The world position of the sphere. (Optional)
radius (optional) number The radius of the sphere. (Optional)

Returns:

Type Description
table The table of tables. { {center=Vec3, radius=number}, ..}