reckfellENGINE

TextServerManager

A singleton for managing TextServer implementations.

On this page
class TextServerManagerReckfellSharp

A singleton for managing TextServer implementations.

TextServerManager is the API backend for loading, enumerating, and switching TextServers. Note: Switching text server at runtime is possible, but will invalidate all fonts and text buffers. Make sure to unload all controls, fonts, and themes before doing so.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Properties1

SingletonProperty
# Singleton
C#
public static TextServerManagerInstance Singleton { get; }

Methods8

AddInterfacevoid
# AddInterface
C#
public static void AddInterface(TextServer @interface);

Registers a TextServer interface.

Parameters
NameTypeDefault
interfaceTextServer—
FindInterfaceTextServer
# FindInterface
C#
public static TextServer FindInterface(string name);

Finds an interface by its name.

Parameters
NameTypeDefault
namestring—
Returns TextServer
GetInterfaceTextServer
# GetInterface
C#
public static TextServer GetInterface(int idx);

Returns the interface registered at a given index.

Parameters
NameTypeDefault
idxint—
Returns TextServer
GetInterfaceCountint
# GetInterfaceCount
C#
public static int GetInterfaceCount();

Returns the number of interfaces currently registered.

Returns int
GetInterfacesReckfell.Collections.Array<Reckfell.Collections.Dictionary>
# GetInterfaces
C#
public static Reckfell.Collections.Array<Reckfell.Collections.Dictionary> GetInterfaces();

Returns a list of available interfaces, with the index and name of each interface.

Returns Reckfell.Collections.Array<Reckfell.Collections.Dictionary>
GetPrimaryInterfaceTextServer
# GetPrimaryInterface
C#
public static TextServer GetPrimaryInterface();

Returns the primary TextServer interface currently in use.

Returns TextServer
RemoveInterfacevoid
# RemoveInterface
C#
public static void RemoveInterface(TextServer @interface);

Removes an interface. All fonts and shaped text caches should be freed before removing an interface.

Parameters
NameTypeDefault
interfaceTextServer—
SetPrimaryInterfacevoid
# SetPrimaryInterface
C#
public static void SetPrimaryInterface(TextServer index);

Sets the primary TextServer interface.

Parameters
NameTypeDefault
indexTextServer—

Signals and events2

InterfaceAddedEvent
# InterfaceAdded
C#
public static event TextServerManager.InterfaceAddedEventHandler InterfaceAdded;

Emitted when a new interface has been added.

Handler parameters
NameTypeDefault
interfaceNameStringName—
InterfaceRemovedEvent
# InterfaceRemoved
C#
public static event TextServerManager.InterfaceRemovedEventHandler InterfaceRemoved;

Emitted when an interface is removed.

Handler parameters
NameTypeDefault
interfaceNameStringName—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.