createEntitiesFromScene

Script::createEntitiesFromScene

Creates Entities from a scene file.

Declaration

virtual void createEntitiesFromScene(const std::string& filePath) = 0;

Parameters

Name

Type

Description

filePath

const std::string&

Path to the scene to create the Entities from.

Returns

None.

Notes

Contrary to goToScene, this function does not destroy all non-persistent Entities currently present.