GraphicsManager Class |
Namespace: GeonBit.Managers
public class GraphicsManager : IManager
The GraphicsManager type exposes the following members.
Name | Description | |
---|---|---|
Instance |
Get instance.
| |
ScreenSize |
Get current resolution size.
| |
ViewportSize |
Get current viewport size.
|
Name | Description | |
---|---|---|
CreateBackground |
Create and return a GameObject with background attached to it.
Note: also attach it to either the active scene root, or a given GameObject.
| |
CreateSkybox |
Create and return a GameObject with skybox attached to it.
| |
Draw |
Called every frame during the Draw() process.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FixedUpdate |
Called every constant X seconds during the Update() phase.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Init Game Utils manager.
| |
SetDefaultMaterialGenerator |
Set the default material generator for a material type.
This is used to determine how to generate materials for loaded models (will apply only on models not loaded yet).
For example, if you set the Default material generator function, it means that whenever GeonBit loads a model with BasicEffect,
it will call this function to generate a corresponding material for it.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update |
Update manager.
|