fromJson static method
- String json
Creates a scene from JSON.
Parameters:
json
— The JSON string for the scene.
Return Value: A new scene object.
Creates a scene from JSON.
Parameters:
json
— The JSON string for the scene.Return Value: A new scene object.