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

Visibility hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replacing {{source2 point multi}} with {{this is a}}. This operation was performed by a bot.)
m (→‎See also: Unicodifying, replaced: See Also → See also)
Line 19: Line 19:
{{KV Source 2 Transform}}
{{KV Source 2 Transform}}


== See Also ==
== See also ==


[[SteamVR/Environments/Precomputed_Visibility | SteamVR Home - Precomputed Visibility Tutorial]]
[[SteamVR/Environments/Precomputed_Visibility | SteamVR Home - Precomputed Visibility Tutorial]]

Revision as of 02:14, 9 January 2024

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

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


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