DebugRenderingSettings.CustomString 属性

定义

启用标志时 RenderCustomString 呈现到帧中的用户控制的字符串。 例如,在调试从通过 API 设置值到客户端应用中远程内容中显示的整个延迟时,可以使用此值。 具体而言,这可能会对计数器进行编码,该计数器在每个帧中递增,并且也呈现为本地内容。 然后,这两个数字之间的差异对应于帧延迟“姿势显示”的数量。 尝试设置长度超过 64 个字符的字符串时,会出现“Status.StringTooLong”错误。 此外,字符串只能包含 ASCII 字符,否则会发生“Status.InvalidParam”错误。

public:
 property System::String ^ CustomString { System::String ^ get(); void set(System::String ^ value); };
public string CustomString { get; set; }
member this.CustomString : string with get, set
Public Property CustomString As String

属性值

适用于