Class: guiSelectPoint

FrustumPoints#guiSelectPoint()

GUI for select a frustum point. Uses in the guiSelectPoint.

Constructor

new guiSelectPoint()

Source:

Methods

appendChild(count)

Append new item into controller
Parameters:
Name Type Description
count object Count of points in the FrustumPoints
Properties
Name Type Description
xCount number Count of rows of the points in the x axis
yCount number Count of rows of the points in the y axis
zCount number Count of layers of the points in the z axis
Source:

create(fPoints, languageCode)

create controls
Parameters:
Name Type Description
fPoints GUI parent folder. See GUI.
languageCode string Localization. The "primary language" subtag of the language version of the browser.
Examples: "en" - English language, "ru" Russian.
See the rfc4646 2.1 Syntax for details.
Source:

display(display)

Display or hide the FrustumPoints controls.
Parameters:
Name Type Description
display string 'block' - display

'none' - hide

Source:

getSelectedIndex()

Source:
Returns:
frustum point index selected by user from controls.

null if user have not selected any point.

isDisplay()

Is FrustumPoints controls visible?
Source:
Returns:
true - FrustumPoints controls is visible.

pointIndexes(index)

Sets to the controls the indexes of the selected frustum point.
Parameters:
Name Type Description
index object
Properties
Name Type Description
x object index of the x row of selected frustum point
y object index of the y row of selected frustum point
z object index of the z layer of selected frustum point
Source: