Skip to content
RenderQueryParams

玩法 / RenderQueryParams

RenderQueryParams Interface
​

空间查询渲染参数

Table of contents ​

Properties
​

duration: number
可视化调试结果应保留在屏幕上的秒数。默认为1秒。
hitColor: LinearColor
调试渲染绘制的击中结果的颜色。
isDrawDebug: boolean
如果属性值为true,则启用世界空间中射线检测的可视化以进行调试。
thickness: number
调试渲染绘制的线的粗细。默认值为1。
traceColor: LinearColor
调试渲染绘制的射线的颜色。

Properties ​

duration
​

• Optional duration: number

可视化调试结果应保留在屏幕上的秒数。默认为1秒。


hitColor
​

• Optional hitColor: LinearColor

调试渲染绘制的击中结果的颜色。


isDrawDebug
​

• Optional isDrawDebug: boolean

如果属性值为true,则启用世界空间中射线检测的可视化以进行调试。


thickness
​

• Optional thickness: number

调试渲染绘制的线的粗细。默认值为1。


traceColor
​

• Optional traceColor: LinearColor

调试渲染绘制的射线的颜色。