Zh/$cbox: Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
(deepseek translation) |
||
Line 1: | Line 1: | ||
{{ | {{Machine Translation}} | ||
{{lang|$cbox|title=$cbox}} | {{lang|$cbox|title=$cbox}} | ||
{{tabsBar|main=gs|base=$cbox}} | {{tabsBar|main=gs|base=$cbox}} | ||
{{this is a|QC | {{this is a|QC 命令|name=$cbox}} 该命令用于设置模型的剪裁{{L|Bounding_box|包围盒}}。该包围盒用于游戏中对模型进行视锥剔除以优化性能。 | ||
当剪裁包围盒不在摄像机视域范围内时,模型将被立即剔除。 | |||
若剪裁包围盒的{{L|coordinates|坐标}}值均为零,则会自动使用<code>{{L|$bbox}}</code>代替。 | |||
{{confirm| | {{confirm|实际剪裁盒常会被游戏代码覆盖(例如{{L|NPC}}等实体),此行为与GoldSrc引擎的处理方式一致。}} | ||
== | ==语法== | ||
$cbox ( | $cbox (最小x) (最小y) (最小z) (最大x) (最大y) (最大z) | ||
== | ==另见== | ||
* {{L|$bbox}} | * {{L|$bbox}} | ||
* {{L|$hbox}} | * {{L|$hbox}} | ||
* {{L|$hboxset}} | * {{L|$hboxset}} | ||
{{ACategory| | {{ACategory|建模}} | ||
{{ACategory|QC | {{ACategory|QC 命令|cbox}} | ||
{{ACategory| | {{ACategory|起源引擎}} |
Latest revision as of 19:13, 18 April 2025

This page is Machine translated
It is not recommended to use machine translation without any corrections.
If the article is not corrected in the long term, it will be removed.
Also, please make sure the article complies with the alternate languages guide.
It is not recommended to use machine translation without any corrections.
If the article is not corrected in the long term, it will be removed.
Also, please make sure the article complies with the alternate languages guide.
$cbox
是一个QC 命令,可在所有的 起源 游戏中使用。 该命令用于设置模型的剪裁包围盒 。该包围盒用于游戏中对模型进行视锥剔除以优化性能。
当剪裁包围盒不在摄像机视域范围内时,模型将被立即剔除。

语法
$cbox (最小x) (最小y) (最小z) (最大x) (最大y) (最大z)