s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
VRTrackedObject
chevron_left
Components
class
VRTrackedObject
search
Constructors
functions
VRTrackedObject
Properties
data_object
PoseSource
data_object
PoseType
data_object
TrackingType
data_object
UseRelativeTransform
Methods
lock
OnPreRender
lock
OnUpdate
menu
VRTrackedObject
Updates this GameObject's transform based on a given tracked object (e.g. left controller, HMD).
class
Sandbox.VR
.
account_tree
extends
Component
Sandbox.Engine
build
Constructors
1
VRTrackedObject
(
)
data_object
Properties
4
PoseSource
PoseSources
Which tracked object should we use to update the transform?
PoseType
PoseTypes
Which pose type to use (only applies to hand controllers, not the head). Grip is centered on the palm, Aim points forward for aiming/pointing.
TrackingType
TrackingTypes
Which parts of the transform should be updated? (eg. rotation, position)
UseRelativeTransform
bool
If this is checked, then the transform used will be relative to the VR anchor (rather than an absolute world position).
functions
Methods
2
OnPreRender
(
)
OnUpdate
(
)
Inheritance
Component
VRTrackedObject
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.