XRTracker
繼承: RefCounted < Object
被繼承: XRFaceTracker, XRPositionalTracker
追蹤對象。
說明
This object is the base of all XR trackers.
教學
屬性
|
||
|
||
|
屬性說明
此追蹤器的描述。
StringName name = &"Unknown" 🔗
void set_tracker_name(value: StringName)
StringName get_tracker_name()
The unique name of this tracker. The trackers that are available differ between various XR runtimes and can often be configured by the user. Godot maintains a number of reserved names that it expects the XRInterface to implement if applicable:
"head"identifies the XRPositionalTracker of the player's head"left_hand"identifies the XRControllerTracker in the player's left hand"right_hand"identifies the XRControllerTracker in the player's right hand"/user/hand_tracker/left"identifies the XRHandTracker for the player's left hand"/user/hand_tracker/right"identifies the XRHandTracker for the player's right hand"/user/body_tracker"identifies the XRBodyTracker for the player's body"/user/face_tracker"identifies the XRFaceTracker for the player's face
TrackerType type = 128 🔗
void set_tracker_type(value: TrackerType)
TrackerType get_tracker_type()
該追蹤器的型別。