FORGE. HotspotTransformValues

new HotspotTransformValues(x, y, z)

HotspotTransformValues handle the three values x, y and z.
Parameters:
Name Type Description
x number The spherical coordinates of a 3D object (radius, theta, phi)
y number The rotation of a 3D object (x, y, z).
z number The scale of a 3D object (x, y, z).
Source:

Members

values :THREE.Vector3

Get the vector representing the values
Type:
  • THREE.Vector3
Source:

x :number

Get/set the x value
Type:
  • number
Source:

x :number

Get/set the x value
Type:
  • number
Source:

y :number

Get/set the y value
Type:
  • number
Source:

Methods

destroy()

Destroy sequence.
Source:

dump() → {HotspotTransformValuesConfig}

Dump values.
Source:
Returns:
Type
HotspotTransformValuesConfig

load(values, notifyopt) → {boolean}

Load values.
Parameters:
Name Type Attributes Default Description
values HotspotTransformValuesConfig
notify boolean <optional>
true Do we notify the transform object after the load ?
Source:
Returns:
Returns if any value has changed.
Type
boolean

FORGE. HotspotTransformValues

Members
Methods