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
Methods
destroy()
Destroy sequence.
dump() → {HotspotTransformValuesConfig}
Dump values.
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 ? |
Returns:
Returns if any value has changed.
- Type
- boolean