Template:KV Source 2 Transform: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Fixed the internal names to how they are referenced in the map DMX source.)
Line 3: Line 3:
{{KV|Angles|intn=angles|angles|The pitch, yaw, roll orientation of the entity.}}
{{KV|Angles|intn=angles|angles|The pitch, yaw, roll orientation of the entity.}}
{{KV|Scale|intn=scales|vector|The x, y, z scales of the entity. Not all entities can use this.}}
{{KV|Scale|intn=scales|vector|The x, y, z scales of the entity. Not all entities can use this.}}
{{KV|Transform Locked|intn=transform locked|boolean|Lock the transform at its current value, preveting the transform of the node from being modified.}}
{{KV|Transform Locked|intn=transformLocked|boolean|Lock the transform at its current value, preventing the transform of the node from being modified. Only applies within Hammer.}}
{{KV|Force Hidden|intn= force hidden|boolean|Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.}}
{{KV|Force Hidden|intn= force_hidden|boolean|Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.}}
{{KV|Editor Only|intn=editor only|boolean|Entity is only displayed in Hammer and will not appear in game.}}</onlyinclude>
{{KV|Editor Only|intn=editorOnly|boolean|Entity is only displayed in Hammer and will not appear in game.}}</onlyinclude>
[[Category:Keyvalue Templates|Source 2 Transform]]
[[Category:Keyvalue Templates|Source 2 Transform]]

Revision as of 01:07, 2 April 2025

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.