Interface ILunySceneService
Engine-agnostic scene information service.
public interface ILunySceneService : ILunyEngineService
Remarks
IMPORTANT: Implementations must inherit from both the ILunyService interface and its corresponding LunyServiceBase class!
Properties
CurrentScene
ILunyScene CurrentScene { get; }
Property Value
Methods
FindObjectByName(string)
Finds a LunyObject by name in the current scene.
ILunyObject FindObjectByName(string name)
Parameters
namestring
Returns
GetObjects(IReadOnlyCollection<string>)
Gets objects with matching names in the current scene. Creates LunyObject instances.
IReadOnlyList<ILunyObject> GetObjects(IReadOnlyCollection<string> objectNames)
Parameters
objectNamesIReadOnlyCollection<string>
Returns
- IReadOnlyList<ILunyObject>
ReloadScene()
void ReloadScene()