Goblin - A Platform for 3D AR and VR Applications

Engine Members

Engine overview

Public Static Methods

CreateInstance Creates an instance of the type whose name is specified, using the named assembly and default constructor (same as Activator.CreateInstance). For some reason, Activator.CreateInstance() didn't work.
Main Entry point to the program. Initializes everything and goes into a message processing loop. Idle time is used to render the scene.

Public Instance Constructors

Engine Constructor DEFAULT CTOR

Public Instance Fields

dxFirstPersonCamera 
inputMapper 
nodeCamera 
sampleFramework 
sceneGraph 
trackedCameraBtn 
useTrackedCamera 

Public Instance Methods

Dispose Releases resources
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeApplication Initializes the application
IsDeviceAcceptable Called during device initialization, this code checks the device for some minimum set of capabilities, and rejects those that don't pass by returning false.
loadAppPlugin 
loadAppPluginsOverloaded.  
MasterMouseEventHandler 
MasterWndProcHandler Before handling window messages, the sample framework passes incoming windows messages to the application through this callback function. If the application sets noFurtherProcessing to true, the sample framework will not process the message
ModifyDeviceSettings This callback function is called immediately before a device is created to allow the application to modify the device settings. The supplied settings parameter contains the settings that the framework has selected for the new device, and the application can make any desired changes directly to this structure. Note however that the sample framework will not correct invalid device settings so care must be taken to return valid device settings, otherwise creating the Device will fail.
OnFrameMove This callback function will be called once at the beginning of every frame. This is the best location for your application to handle updates to the scene, but is not intended to contain actual rendering calls, which should instead be placed in the OnFrameRender callback.
OnFrameRender This callback function will be called at the end of every frame to perform all the rendering calls for the scene, and it will also be called if the window needs to be repainted. After this function has returned, the sample framework will call Device.Present to display the contents of the next buffer in the swap chain
Run Runs the application
Shutdown Saves changed settings
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

keyEvent 
mouseEvent 
wndProcEvent 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Engine Class | Goblin.Engine Namespace