Skip to main content

SceneConstructor

                            
                              
                                interface 
                                SceneConstructor
                                
                                  
                                    
                                      T
                                    
                                  
                                
                              
                              

The constructor used when creating new scenes.

Each class implementing the Scene interface should have a matchingconstructor.

Type Parameters

  • T

    The type of the configuration object. This object will bepassed to the constructor from config .

Constructors

constructor

                            
                              
                                public 
                                new
                                Scene
                                
                                  
                                    
                                      description
                                      : 
                                      FullSceneDescription
                                      
                                        
                                          
                                            T
                                          
                                        
                                      
                                    
                                  
                                
                                : 
                                Scene
                                
                                  
                                    
                                      unknown
                                    
                                  
                                
                              
                              

Parameters