class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectNodeNode3D XRNode3D
A 3D node that has its position automatically updated by the XRServer.

This node can be bound to a specific pose of a XRPositionalTracker and will automatically have its Node3D.transform updated by the XRServer. Nodes of this type must be added as children of the XROrigin3D node.

Signal tracking_changed<>( bool tracking=, tracking:bool=, ):Signal

Emitted when the tracker starts or stops receiving updated tracking data for the pose being tracked. The tracking argument indicates whether the tracker is getting updated tracking data.

StringName pose<>():StringName

The name of the pose we're bound to. Which poses a tracker supports is not known during design time.

Godot defines number of standard pose names such as aim and grip but other may be configured within a given XRInterface.

bool show_when_tracked<>():bool

Enables showing the node when tracking starts, and hiding the node when tracking is lost.

StringName tracker<>():StringName

The name of the tracker we're bound to. Which trackers are available is not known during design time.

Godot defines a number of standard trackers such as left_hand and right_hand but others may be configured within a given XRInterface.

bool get_has_tracking_data<>():bool

Returns true if the tracker has current tracking data for the pose being tracked.

bool get_is_active<>():bool

Returns true if the tracker has been registered and the pose is being tracked.

XRPose get_pose<>():XRPose

Returns the XRPose containing the current state of the pose being tracked. This gives access to additional properties of this pose.

void trigger_haptic_pulse<>( String action_name=, action_name:String=, float frequency=, frequency:float=, float amplitude=, amplitude:float=, float duration_sec=, duration_sec:float=, float delay_sec=, delay_sec:float=, ):void

Triggers a haptic pulse on a device associated with this interface.

action_name is the name of the action for this pulse.

frequency is the frequency of the pulse, set to 0.0 to have the system use a default frequency.

amplitude is the amplitude of the pulse between 0.0 and 1.0.

duration_sec is the duration of the pulse in seconds.

delay_sec is a delay in seconds before the pulse is given.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...