Difference between revisions of "Visibility hint"

From Valve Developer Community
Jump to: navigation, search
(Page Creation)
 
(Changed to use templates)
 
Line 1: Line 1:
'''visibility_hint''' is a point entity which is used to alter visibility in [[Half-Life: Alyx]] based mods.
+
{{Source2 point multi|visibility_hint|game1 = SteamVR Home|game2 = Half-Life: Alyx}} It is a point entity which is used to define visibility grid properties.
  
 
==Entity description==
 
==Entity description==
Line 7: Line 7:
  
 
== Properties ==
 
== Properties ==
;<code>Transform</code>
+
{{KV|Box Mins|coordinates|The minimum bounds for the volume, can be dragged out in the 3d view or entered manually.}}
* origin <[[float]] X> <[[float]] Y> <[[float]] Z>
 
:: location in the world
 
* angles <[[float]] X> <[[float]] Y> <[[float]] Z>
 
:: rotation in the world
 
* scales <[[float]] X(default 1)> <[[float]] Y(default 1)> <[[float]] Z(default 1)>
 
:: scale in the world
 
* Transform Locked <[[boolean]] (default 0)>
 
:: Lock the transform at its current value, preventing the transform of the node from being modified.
 
* Force Hidden <[[boolean]] (default 0)>
 
:: Visually hide the entity from the viewports. The Outliner pane will still list hidden entities.
 
* Editor Only <[[boolean]] (default 0)>
 
:: Entity is only displayed in Hammer and will not appear in game.
 
  
 +
{{KV|Box Maxs|coordinates|The maximumbounds for the volume, can be dragged out in the 3d view or entered manually.}}
  
;<code>Box Mins <[[float]] X (default -64)> <[[float]] Y (default -64)> <[[float]] Z (default -64)></code>
+
{{KV|Hint Type|choices}}
: The minimum bounds for the volume, can be dragged out in the 3d view or entered manually
+
:*0: Use Low Resolution (64 unit grid) (default)
 +
:*3: Use High Resolution
 +
:*6: Z-axis split
  
;<code>Box Maxs <[[float]] X (default 64)> <[[float]] Y (default 64)> <[[float]] Z (default 64)></code>
 
: The maximum bounds for the volume, can be dragged out in the 3d view or entered manually
 
  
;<code>Hint Type <[[choices]]> </code>
+
{{KV Source 2 Transform}}
# Use Low Resolution (64 unit grid) (default)
 
# Use High Resolution
 
# Z-axis split
 
  
 +
== See Also ==
 +
 +
[[SteamVR/Environments/Precomputed_Visibility | SteamVR Home - Precomputed Visibility Tutorial]]
  
  
 
[[Category:Entities]]
 
[[Category:Entities]]
 
[[Category:Half-Life:_Alyx_Entities]]
 
[[Category:Half-Life:_Alyx_Entities]]

Latest revision as of 00:46, 26 May 2020

visibility_hint is a point entity available in the following Source 2 engine games: SteamVR Home SteamVR Home, Half-Life: Alyx Half-Life: Alyx. 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.

To do: Test the use of this entity for its behavior.

Properties

Box Mins <coordinates>
The minimum bounds for the volume, can be dragged out in the 3d view or entered manually.


Box Maxs <coordinates>
The maximumbounds for the volume, can be dragged out in the 3d view or entered manually.


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


Source 2 Transform:

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


See Also

SteamVR Home - Precomputed Visibility Tutorial