Class vCast.Info
Class of Info Wall related functions.
資訊牆相關的功能類別。
Inheritance
Namespace: Votanic.vXR.vCast
Assembly: Votanic.vXR.dll
Syntax
public class Info
Methods
Align(HorizontalAlignment, VerticalAlignment, Int32)
Set the align of Information on Info Wall.
設定資訊牆中的資訊排版。
Align(HorizontalAlignment.Right, VerticalAlignment.Top)
Declaration
public static void Align(HorizontalAlignment horizontal, VerticalAlignment vertical, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
HorizontalAlignment | horizontal | Horizontal Alignment |
VerticalAlignment | vertical | Vertical Alignment |
System.Int32 | index | Index of Info Wall |
ClearDebugLog(Int32)
Clear custom debug message.
清除自訂偵錯訊息。
ClearDebugLog()
Declaration
public static void ClearDebugLog(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of Info Wall |
ClearPrintLog(Int32)
Clear custom message.
清除自訂訊息。
ClearPrintLog()
Declaration
public static void ClearPrintLog(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of Info Wall |
DebugLog(Object, Boolean, Boolean, Boolean, Int32)
Add a message to custom debug message at current frame.
在當前幀增加一句自訂偵錯訊息。
DebugLog("abc", true)
Declaration
public static void DebugLog(object message, bool clear = false, bool hideTitle = false, bool debugLog = false, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Object | message | Custom Message |
System.Boolean | clear | Clear previous message |
System.Boolean | hideTitle | Hide [Debug] this frame if true once |
System.Boolean | debugLog | Show in Unity Debug Log |
System.Int32 | index | Index of Info Wall |
DisplayCompanyName(Boolean, Int32)
Show or hide the Company Name of the application.
顯示或隱藏應用程式的公司名稱。
DisplayCompanyName(true)
Declaration
public static void DisplayCompanyName(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
DisplayDebugLog(Boolean, Int32)
Show or hide the debug message.
顯示或隱藏偵錯訊息。
DisplayDebugLog(true)
Declaration
public static void DisplayDebugLog(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
DisplayFPS(Boolean, Int32)
Show or hide the average FPS for each Refresh of the application.
顯示或隱藏應用程式每次刷新的平均幀數。
DisplayFPS(true)
Declaration
public static void DisplayFPS(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
DisplayLowFPS(Boolean, Int32)
Show or hide the lowest FPS for each Refresh of the application.
顯示或隱藏應用程式每次刷新的最低幀數。
DisplayLowFPS(true)
Declaration
public static void DisplayLowFPS(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
DisplayPrintLog(Boolean, Int32)
Show or hide the custom message.
顯示或隱藏自訂訊息。
DisplayPrintLog(true)
Declaration
public static void DisplayPrintLog(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
DisplayProductName(Boolean, Int32)
Show or hide the Product Name of the application.
顯示或隱藏應用程式的產品名稱。
DisplayProductName(true)
Declaration
public static void DisplayProductName(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
DisplayVersion(Boolean, Int32)
Show or hide the Version of the application.
顯示或隱藏應用程式的版本。
DisplayVersion(true)
Declaration
public static void DisplayVersion(bool display, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | display | Show if true |
System.Int32 | index | Index of Info Wall |
Enable(Boolean, Int32)
Enable or disable the Info Wall.
啟用或停用資訊牆。
Enable(true)
Declaration
public static void Enable(bool enable, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enable | Enable if true |
System.Int32 | index | Index of Info Wall |
FPS(Int32)
Return the FPS of the application.
傳回應用程式的幀數。
FPS()
Declaration
public static float FPS(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of Info Wall |
Returns
Type | Description |
---|---|
System.Single |
GetScreen(Int32)
Get the screen of info wall.
取得資訊牆的屏幕。
GetScreen()
Declaration
public static Screen GetScreen(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of Info Wall |
Returns
Type | Description |
---|---|
Screen |
Print(Object, Boolean, Boolean, Boolean, Int32)
Add a message to custom message at current frame.
在當前幀增加一句自訂訊息。
Print("abc", true)
Declaration
public static void Print(object message, bool clear = false, bool hideTitle = false, bool debugLog = false, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Object | message | Custom Message |
System.Boolean | clear | Clear previous message |
System.Boolean | hideTitle | Hide [Print] this frame if true once |
System.Boolean | debugLog | Show in Unity Debug Log |
System.Int32 | index | Index of Info Wall |
ResetInfo(Int32)
Reset the Info Wall setting.
重設資訊牆。
ResetInfo()
Declaration
public static void ResetInfo(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of Info Wall |
Text(Boolean, Int32)
Enable or disable the Text part.
啟用或停用文字部份。
Text(true)
Declaration
public static void Text(bool enable, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enable | Enable if true |
System.Int32 | index | Index of Info Wall |
WaterMark(Boolean, Int32)
Enable or disable the Watermark part.
啟用或停用水印部份。
WaterMark(true)
Declaration
public static void WaterMark(bool enable, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enable | Enable if true |
System.Int32 | index | Index of Info Wall |