Click or drag to resize
GraphicsManager Class
Provide game-related utilities.
Inheritance Hierarchy
SystemObject
  GeonBit.ManagersGraphicsManager

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class GraphicsManager : IManager

The GraphicsManager type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberInstance
Get instance.
Public propertyScreenSize
Get current resolution size.
Public propertyViewportSize
Get current viewport size.
Top
Methods
  NameDescription
Public methodCreateBackground
Create and return a GameObject with background attached to it. Note: also attach it to either the active scene root, or a given GameObject.
Public methodCreateSkybox
Create and return a GameObject with skybox attached to it.
Public methodDraw
Called every frame during the Draw() process.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFixedUpdate
Called every constant X seconds during the Update() phase.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Init Game Utils manager.
Public methodSetDefaultMaterialGenerator
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update manager.
Top
See Also