Base class: Object

Lua
C++
Edit

VrDevice

This class handles objects that appear in both the virtual and real world, such as the VR headset and controllers. You can use the Entity:Attach method to attach an object to a VR device.

Property Type Description
model Model 3D model representing the real object
Connected Method returns true if the device is connected
GetMatrix Method returns the device 4x4 matrix
GetPosition Method returns the device position
GetQuaternion Method returns the device quaternion
GetRotation Method returns the device rotation
Copyright © 2024 Ultra Software.
All rights reserved.