SetViewOffset: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== void CBaseEntity::SetViewOffset( const Vector &vecOffset ) ==
{{Multiple issues|
This function is used to define the relative position to the eyes of the entity. This vector is hardcoded and must be set with custom models.
{{Dead end|date=January 2024}}
{{Orphan|date=January 2024}}
}}
 
== void CBaseEntity::'''SetViewOffset'''( const Vector &vecOffset ) ==
This function is used to set position of eyes relative to this entity. For an NPC, the default offset is determined by the eye position defined its model.


[[Category:Glossary]]
[[Category:Functions]]
[[Category:Functions]]
{{stub}}

Latest revision as of 00:31, 20 March 2024

Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

void CBaseEntity::SetViewOffset( const Vector &vecOffset )

This function is used to set position of eyes relative to this entity. For an NPC, the default offset is determined by the eye position defined its model.


Stub

This article or section is a stub. You can help by expanding it.