C# (CSharp) Duality Namespace

Nested Namespaces

Duality.Components
Duality.Editor
Duality.Helpers
Duality.Launcher
Duality.Plugins
Duality.Resources
Duality.Serialization
Duality.Tests
Duality.Utility
Duality.VisualStudio

Classes

Name Description
ClientConnection
CollisionData Provides detailed information about a collision event.
ContentProvider

The ContentProvider is Duality's main instance for content management. If you need any kind of Resource, simply request it from the ContentProvider. It keeps track of which Resources are loaded and valid and prevents Resources from being loaded more than once at a time, thus reducing loading times and redundancy.

You can also manually register Resources that have been created at runtime using a string alias of your choice.

CorePlugin
DataLogOutput A Log output that stores all log entries in memory.
DualityApp This class controls Duality's main program flow control and general maintenance functionality. It initializes the engine, loads plugins, provides access to user input, houses global data structures and handles logfiles internally.
DualityAppData
DualityUserData
ExplicitResourceReferenceAttribute
ExtMethodsBitmap Provides extension methods for Bitmaps.
ExtMethodsXml
FrameData
FrameEvent
FrameReceivedEventArgs
GameMessage
Log Listens for log entries and writes them to registered ILogOutputs.
Log.SharedState Holds a Logs state values.
MessageReader
NetworkProfileClient
NetworkProfileServer
PathHelper Provides helper methods for handling Paths.
ReflectionInfo Provides Reflection data on Properties and Fields.
Resource
TcpChannel
TextWriterLogOutput A ILogOutput">Log output that uses a Time The Time class provides a global interface for time measurement and control. It affects all time-dependent computations. Use the TimeMult Property to make your own computations time-dependent instead of frame-dependent. Otherwise, your game logic will depend on how many FPS the player's machine achieves and mit behave differently on very slow or fast machines.