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

NameDescription
Public methodUxrElement

Properties

NameDescription
Public propertyButtonPressedOffset Gets the pressed offset for a Button input element.
Public propertyDpadFirstAxisOffset Gets the maximum positive offset for the first axis in a DPad input element. The other side will be the negated offset.
Public propertyDpadFirstAxisOffsetAngle Gets the maximum positive angle range for the first axis in a DPad input element. The other side will be the negated angle.
Public propertyDpadSecondAxisOffset Gets the maximum positive offset for the second axis in a DPad input element. The other side will be the negated offset.
Public propertyDpadSecondAxisOffsetAngle Gets the maximum positive angle range for the second axis in a DPad input element. The other side will be the negated angle.
Public propertyElement Gets which controller element(s) the input element describes.
Public propertyElementObject Gets the object that represents the input element.
Public propertyElementType Gets the input element type.
Public propertyFinger Gets which finger interacts with the input element.
Public propertyFingerContactPoint Gets the finger contact point if there is any. If null it will try to contact ElementObject’s transform.
Public propertyHandSide Gets the hand that is used to interact with the input.
Public propertyInput1DPressedOffset Gets the pressed offset for a Input1DPush input element.
Public propertyInput1DPressedOffsetAngle Gets the pressed offset euler angles for a Input1DRotate input element.
Public propertyInput2DFirstAxisOffset Gets the maximum positive offset of the first axis in a Input2DTouch input element. The other side will be the negated offset.
Public propertyInput2DFirstAxisOffsetAngle Gets the maximum positive angle range for the first axis in a Input2DJoystick input element. The other side will be the negated angle.
Public propertyInput2DSecondAxisOffset Gets the maximum positive offset of the second axis in a Input2DTouch input element. The other side will be the negated offset.
Public propertyInput2DSecondAxisOffsetAngle 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

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.Devices.Visualization Namespace