Show / Hide Table of Contents

Class vCast.Info

Class of Info Wall related functions.
資訊牆相關的功能類別。

Inheritance
System.Object
vCast.Info
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
當 true 時當前幀將隱藏 [Debug]

System.Boolean debugLog

Show in Unity Debug Log
在 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
當 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
當 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
當 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
當 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
當 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
當 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
當 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
當 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
當 true 時當前幀將隱藏 [Print]

System.Boolean debugLog

Show in Unity Debug Log
在 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
當 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
當 true 時啟用

System.Int32 index

Index of Info Wall
資訊牆編號

In This Article
Back to top Generated by DocFX