Interface ILunySceneService
Engine-agnostic scene information service.
public interface ILunySceneService : ILunyEngineService
Expand Details ...
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
| Type | Name | Description |
|---|---|---|
name |
Returns
GetObjects(IReadOnlyCollection<String>)
Gets objects with matching names in the current scene. Creates LunyObject instances.
IReadOnlyList<ILunyObject> GetObjects(IReadOnlyCollection<String> objectNames)
Parameters
| Type | Name | Description |
|---|---|---|
objectNames |
Returns
ReloadScene()
void ReloadScene()