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 | |
---|---|
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. |
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. |
Public Attributes
Name | |
---|---|
const int | DefaultTextAtlasDimension 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. |
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.