babylonjs-accessibility 6.39.0 → 6.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ declare module BABYLON.Accessibility {
20
20
  /**
21
21
  * The text content displayed in HTML element.
22
22
  * @param options - Options to render HTML twin tree where this element is contained.
23
+ * @returns The text content displayed in HTML element.
23
24
  */
24
25
  getDescription(options: IHTMLTwinRendererOptions): string;
25
26
  /**
@@ -95,11 +96,17 @@ declare module BABYLON.Accessibility {
95
96
  * The BabylonJS scene that the corresponding BabylonJS entity is in.
96
97
  */
97
98
  scene: BABYLON.Scene;
99
+ /**
100
+ * Constructor of HTMLTwinItem.
101
+ * @param entity - The corresponding BabylonJS entity. Can be a BABYLON.Node or a BABYLON.GUI.Control.
102
+ * @param scene - The BabylonJS scene that the corresponding BabylonJS entity is in.
103
+ */
98
104
  constructor(entity: AccessibilityEntity, scene: BABYLON.Scene);
99
105
  /**
100
106
  * The text content displayed in HTML element.
101
107
  * Returns the description in accessibilityTag, if defined (returns "" by default).
102
108
  * @param _options - The options to render the HTML twin tree where this item is contained. Not used in this class, but in its children.
109
+ * @returns the text content displayed in HTML element
103
110
  */
104
111
  getDescription(_options: IHTMLTwinRendererOptions): string;
105
112
  /**