Zh/$cbox: Difference between revisions
< Zh
Jump to navigation
Jump to search
(Created page with "{{subst:#if: Translation of '$cbox' to '中文' via Template:LanguageBar buttons * * * * * * * * * * * * * * * * * * * * * * * * * * * *...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{wip}}{{translating}} | |||
{{lang|$cbox|title=$cbox}} | {{lang|$cbox|title=$cbox}} | ||
{{tabsBar|main=gs|base=$cbox}} | {{tabsBar|main=gs|base=$cbox}} | ||
{{this is a|QC command|name=$cbox}} It sets the clipping | {{this is a|QC command|name=$cbox}} It sets the clipping {{L|Bounding_box|bounding box}} for the {{L|model}}. This box is used for the culling of models in the game for optimization. | ||
A model will be culled as soon as the clipping bounding box is no longer in view of the camera. | A model will be culled as soon as the clipping bounding box is no longer in view of the camera. | ||
If the | If the {{L|coordinates}} of the clipping bounding box are all zero, <code>{{L|$bbox}}</code> is used instead. | ||
{{confirm|Actual clipping box may often be overridden by game code for entities such as | {{confirm|Actual clipping box may often be overridden by game code for entities such as {{L|NPC}}s, as is the case for the GoldSrc equivalent.}} | ||
==Syntax== | ==Syntax== | ||
Line 23: | Line 13: | ||
==See also== | ==See also== | ||
* | * {{L|$bbox}} | ||
* | * {{L|$hbox}} | ||
* | * {{L|$hboxset}} | ||
{{ACategory|Modeling}} | |||
{{ACategory|QC Commands|cbox}} | |||
{{ACategory|Source}} |
Revision as of 19:11, 18 April 2025

This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.

This page is being translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
$cbox
是一个QC 命令 ,可在所有的 起源 游戏中使用。 It sets the clipping bounding box for the model . This box is used for the culling of models in the game for optimization.
A model will be culled as soon as the clipping bounding box is no longer in view of the camera.
If the coordinates of the clipping bounding box are all zero, $bbox
is used instead.

Syntax
$cbox (min x) (min y) (min z) (max x) (max y) (max z)