This article's documentation is for Source 2. Click here for more information.

visibility_hint

From Valve Developer Community
Jump to navigation Jump to search

visibility_hint is a point entity available in SteamVR Home SteamVR Home, Half-Life: Alyx Half-Life: Alyx, and Counter-Strike 2 Counter-Strike 2.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{source2}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to Source 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

It is a point entity which is used to define visibility grid properties.

Entity description

The visibility hint ostensibly affects visibility inside its bounds via the use of a voxel grid of variable resolution.

Todo: Test the use of this entity for its behavior.

Properties

Box Mins ([todo internal name (i)]) <coordinates>
The minimum bounds for the volume, can be dragged out in the 3d view or entered manually.


Box Maxs ([todo internal name (i)]) <coordinates>
The maximumbounds for the volume, can be dragged out in the 3d view or entered manually.


Hint Type ([todo internal name (i)]) <choices>
  • 0: Use Low Resolution (64 unit grid) (default)
  • 3: Use High Resolution
  • 6: Z-axis split


Hint Type ([todo internal name (i)]) <choices>
(CS2 Version)
  • 0: Use High Resolution (8 unit grid) (default)
  • 1: Use Normal Resolution (16 unit grid)
  • 2: Use Medium Resolution (32 unit grid)
  • 3: Use Low Resolution (64 unit grid)
  • 8: Use Lower Resolution (64 unit grid, fewer initial clusters)
  • 9: Use Lowest Resolution (256 unit grid, fewest initial clusters)
  • 4: X-axis split
  • 5: Y-axis split
  • 6: Z-axis split

Source 2 Transform:

Origin (origin) <coordinates>
The world space origin of the entity.
Angles (angles) <angles>
The pitch, yaw, roll orientation of the entity.
Scale (scales) <vector>
The x, y, z scales of the entity. Not all entities can use this.
Transform Locked (transformLocked) <boolean>
Lock the transform at its current value, preventing the transform of the node from being modified. Only applies within Hammer.
Force Hidden (force_hidden) <boolean>
Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.
Editor Only (editorOnly) <boolean>
Entity is only displayed in Hammer and will not appear in game.

See also

SteamVR Home - Precomputed Visibility Tutorial