Click or drag to resize

ARVRControllerControllerId Property

The controller's ID.

A controller ID of 0 is unbound and will always result in an inactive node. Controller ID 1 is reserved for the first controller that identifies itself as the left-hand controller and ID 2 is reserved for the first controller that identifies itself as the right-hand controller.

For any other controller that the ARVRServer detects, we continue with controller ID 3.

When a controller is turned off, its slot is freed. This ensures controllers will keep the same ID even when controllers with lower IDs are turned off.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int ControllerId { get; set; }

Property Value

Type: Int32
See Also