diff --git a/interface/src/raypick/PickScriptingInterface.h b/interface/src/raypick/PickScriptingInterface.h index 1cbdaa92f7..d8654e2a13 100644 --- a/interface/src/raypick/PickScriptingInterface.h +++ b/interface/src/raypick/PickScriptingInterface.h @@ -29,7 +29,7 @@ * @property {FilterFlags} PICK_AVATAR_ENTITIES - Include avatar entities when intersecting. Read-only. * @property {FilterFlags} PICK_LOCAL_ENTITIES - Include local entities when intersecting. Read-only. * @property {FilterFlags} PICK_AVATARS - Include avatars when intersecting. Read-only. - * @property {FilterFlags} PICK_HUD - Include the HUD sphere when intersecting in HMD mode. Read-only. + * @property {FilterFlags} PICK_HUD - Include the HUD surface when intersecting in HMD mode. Read-only. * * @property {FilterFlags} PICK_ENTITIES - Include domain and avatar entities when intersecting. Read-only. *
Deprecated: This property is deprecated and will be removed. Use Deprecated: This property is deprecated and will be removed. Use
* Joint translations can be set by {@link Entities.setLocalJointTranslation|setLocalJointTranslation} and similar
* functions, or by setting the value of this property. If you set a joint translation using this property you also need to
* set the corresponding Alternatively, you can use {@link Entities.emitScriptEvent} and {@link Entities.webEventReceived} to exchange
+ * To send a message from an Interface script to a Web entity over its event bridge: To receive a message from a Web entity over its event bridge in an Interface script: Alternatively, you can use {@link Entities.emitScriptEvent} and {@link Entities.webEventReceived} to exchange
* messages with a Web entity over its event bridge.PICK_DOMAIN_ENTITIES |
@@ -61,7 +61,7 @@
*
INTERSECTED_LOCAL_ENTITY
instead.null
if not in HMD mode.
* @property {number} miniTabletHand - The hand that the mini tablet is displayed on: 0
for left hand,
* 1
for right hand, -1
if not in HMD mode.
- * @property {bool} miniTabletEnabled=true - true
if the mini tablet is enabled to be displayed, otherwise
+ * @property {boolean} miniTabletEnabled=true - true
if the mini tablet is enabled to be displayed, otherwise
* false
.
* @property {Rect} playArea=0,0,0,0 - The size and position of the HMD play area in sensor coordinates. Read-only.
* @property {Vec3[]} sensorPositions=[]] - The positions of the VR system sensors in sensor coordinates. Read-only.
diff --git a/interface/src/scripting/WindowScriptingInterface.h b/interface/src/scripting/WindowScriptingInterface.h
index eab1c65ebb..b5b7f3c8b9 100644
--- a/interface/src/scripting/WindowScriptingInterface.h
+++ b/interface/src/scripting/WindowScriptingInterface.h
@@ -666,7 +666,7 @@ signals:
/**jsdoc
* Triggered when the interstitial mode changes.
* @function Window.interstitialModeChanged
- * @param {bool} interstitialMode - The new interstitial mode value. If true
, the interstitial graphics are
+ * @param {boolean} interstitialMode - The new interstitial mode value. If true
, the interstitial graphics are
* displayed when the domain is loading.
* @returns {Signal}
*/
diff --git a/libraries/entities/src/EntityItemProperties.cpp b/libraries/entities/src/EntityItemProperties.cpp
index 064fe2e3b1..003985bfa3 100644
--- a/libraries/entities/src/EntityItemProperties.cpp
+++ b/libraries/entities/src/EntityItemProperties.cpp
@@ -987,8 +987,8 @@ EntityPropertyFlags EntityItemProperties::getChangedProperties() const {
* false
otherwise; []
if none are applied or the model hasn't loaded. The array indexes are per
* {@link Entities.getJointIndex|getJointIndex}.
* @property {Vec3[]} jointTranslations=[]] - Joint translations applied to the model; []
if none are applied or
- * the model hasn't loaded. The array indexes are per {@link Entities.getJointIndex|getJointIndex}. Rotations are relative
- * to each joint's parent.
+ * the model hasn't loaded. The array indexes are per {@link Entities.getJointIndex|getJointIndex}. Translations are
+ * relative to each joint's parent.
* jointTranslationsSet
value to true
.EventBridge
script object to exchange messages with the web page script.
- *
+ * var entityObject = Entities.getEntityObject(entityID);
+ * entityObject.emitScriptEvent(message);
+ * var entityObject = Entities.getentityObject(entityID);
+ * entityObject.webEventReceived.connect(function(message) {
+ * ...
+ * };
HELLO
+ * HELLO
*