Skip to content
SiteEmail

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’.

Name
ExtendedLibraryParams()
Initialize new Extended Params object with default values.
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.
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.
ExtendedLibraryParams()

Initialize new Extended Params object with default values.

ILibraryParams Params;

Sync the library params with internal member values.

bool UseCSharpRenderingBackend;

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

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.

Vector2Int TextAtlasDimensions;

Allows you to control the size of the text atlas.

string DefaultStyleFontFamily;

The default font family for the CSS styles.

float PathTessellationThresholdRatio;

Modifies the path tessellation threshold ratio.

bool AllowMultipleRenderingThreads;

Enabling this flag allows the usage of multiple rendering threads.

const int DefaultTextAtlasDimension = 1024;

Returns the default atlas dimension.

bool EnableMemoryTracking;

Returns true if memory tracking is enabled.

bool EnableDebugger;

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

int DebuggerPort;

Returns the DevTools debugger port.

bool EnableDebuggerInBuild;

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