UxrElement Class
Describes the properties of a VR controller input element.
Inheritance Hierarchy
System.Object
UltimateXR.Devices.Visualization.UxrElement
Namespace: UltimateXR.Devices.Visualization
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class UxrElement
The UxrElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | UxrElement |
Properties
Name | Description | |
---|---|---|
![]() | ButtonPressedOffset | Gets the pressed offset for a Button input element. |
![]() | DpadFirstAxisOffset | Gets the maximum positive offset for the first axis in a DPad input element. The other side will be the negated offset. |
![]() | DpadFirstAxisOffsetAngle | Gets the maximum positive angle range for the first axis in a DPad input element. The other side will be the negated angle. |
![]() | DpadSecondAxisOffset | Gets the maximum positive offset for the second axis in a DPad input element. The other side will be the negated offset. |
![]() | DpadSecondAxisOffsetAngle | Gets the maximum positive angle range for the second axis in a DPad input element. The other side will be the negated angle. |
![]() | Element | Gets which controller element(s) the input element describes. |
![]() | ElementObject | Gets the object that represents the input element. |
![]() | ElementType | Gets the input element type. |
![]() | Finger | Gets which finger interacts with the input element. |
![]() | FingerContactPoint | Gets the finger contact point if there is any. If null it will try to contact ElementObject’s transform. |
![]() | HandSide | Gets the hand that is used to interact with the input. |
![]() | Input1DPressedOffset | Gets the pressed offset for a Input1DPush input element. |
![]() | Input1DPressedOffsetAngle | Gets the pressed offset euler angles for a Input1DRotate input element. |
![]() | Input2DFirstAxisOffset | Gets the maximum positive offset of the first axis in a Input2DTouch input element. The other side will be the negated offset. |
![]() | Input2DFirstAxisOffsetAngle | Gets the maximum positive angle range for the first axis in a Input2DJoystick input element. The other side will be the negated angle. |
![]() | Input2DSecondAxisOffset | Gets the maximum positive offset of the second axis in a Input2DTouch input element. The other side will be the negated offset. |
![]() | Input2DSecondAxisOffsetAngle | Gets the maximum positive angle range for the second axis in a Input2DJoystick input element. The other side will be the negated angle. |
Extension Methods
Name | Description | |
---|---|---|
![]() | ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |