Path: blob/master/modules/openxr/doc_classes/OpenXRHapticVibration.xml
10278 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="OpenXRHapticVibration" inherits="OpenXRHapticBase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3Vibration haptic feedback.4</brief_description>5<description>6This haptic feedback resource makes it possible to define a vibration based haptic feedback pulse that can be triggered through actions in the OpenXR action map.7</description>8<tutorials>9</tutorials>10<members>11<member name="amplitude" type="float" setter="set_amplitude" getter="get_amplitude" default="1.0">12The amplitude of the pulse between [code]0.0[/code] and [code]1.0[/code].13</member>14<member name="duration" type="int" setter="set_duration" getter="get_duration" default="-1">15The duration of the pulse in nanoseconds. Use [code]-1[/code] for a minimum duration pulse for the current XR runtime.16</member>17<member name="frequency" type="float" setter="set_frequency" getter="get_frequency" default="0.0">18The frequency of the pulse in Hz. [code]0.0[/code] will let the XR runtime chose an optimal frequency for the device used.19</member>20</members>21</class>222324