cohtml.ExtendedLibraryParams

Represent the parameters required to create a Cohtml Library. The properties can be set from the context menu by opening the Gameface/Configure Library window. They can also be changed through a script when subscribing to ‘LibraryParamsManager.OnCustomizeExtendedParams’.

Public Functions

Name
ExtendedLibraryParams()
Initialize new Extended Params object with default values.

Public Properties

Name
ILibraryParamsParams
Sync the library params with internal member values.
boolUseCSharpRenderingBackend
Returns true if the C# rendering backend should be used.
SeverityLoggingSeverity
The logging Severity of the Cohtml Library parameters. Setting it allows you to control the logs that should be shown in the Console window.
Vector2IntTextAtlasDimensions
Allows you to control the size of the text atlas.
stringDefaultStyleFontFamily
The default font family for the CSS styles.
floatPathTessellationThresholdRatio
Modifies the path tessellation threshold ratio.
boolAllowMultipleRenderingThreads
Enabling this flag allows the usage of multiple rendering threads.

Public Attributes

Name
const intDefaultTextAtlasDimension
Returns the default atlas dimension.
boolEnableMemoryTracking
Returns true if memory tracking is enabled.
boolEnableDebugger
Returns true the DevTools debugger is enabled in the Unity3D Editor and Development builds.
intDebuggerPort
Returns the DevTools debugger port.
boolEnableDebuggerInBuild
Returns true if the DevTools debugger is enabled in all build configurations.

Public Functions Documentation

function ExtendedLibraryParams

ExtendedLibraryParams()

Initialize new Extended Params object with default values.

Public Property Documentation

property Params

ILibraryParams Params;

Sync the library params with internal member values.

property UseCSharpRenderingBackend

bool UseCSharpRenderingBackend;

Returns true if the C# rendering backend should be used.

property LoggingSeverity

Severity LoggingSeverity;

The logging Severity of the Cohtml Library parameters. Setting it allows you to control the logs that should be shown in the Console window.

Keep this to Info or more in Shipping builds. Excessive logging can hurt performance.

property TextAtlasDimensions

Vector2Int TextAtlasDimensions;

Allows you to control the size of the text atlas.

property DefaultStyleFontFamily

string DefaultStyleFontFamily;

The default font family for the CSS styles.

property PathTessellationThresholdRatio

float PathTessellationThresholdRatio;

Modifies the path tessellation threshold ratio.

property AllowMultipleRenderingThreads

bool AllowMultipleRenderingThreads;

Enabling this flag allows the usage of multiple rendering threads.

Public Attributes Documentation

variable DefaultTextAtlasDimension

const int DefaultTextAtlasDimension = 1024;

Returns the default atlas dimension.

variable EnableMemoryTracking

bool EnableMemoryTracking;

Returns true if memory tracking is enabled.

variable EnableDebugger

bool EnableDebugger;

Returns true the DevTools debugger is enabled in the Unity3D Editor and Development builds.

variable DebuggerPort

int DebuggerPort;

Returns the DevTools debugger port.

variable EnableDebuggerInBuild

bool EnableDebuggerInBuild;

Returns true if the DevTools debugger is enabled in all build configurations.