@intelligentgraphics/3d.ig.gfx.standard 1.10.0 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/IG.GFX.Standard.d.ts +173 -144
- package/IG.GFX.Standard.js +4 -4
- package/Readme.md +209 -203
- package/_Index.json +1 -1
- package/_Package.json +1 -1
- package/package.json +2 -2
package/IG.GFX.Standard.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Version: 1.10.
|
|
3
|
-
* Commit:
|
|
4
|
-
* Date: 2024-
|
|
2
|
+
* Version: 1.10.2.100
|
|
3
|
+
* Commit: a1e67fa
|
|
4
|
+
* Date: 2024-08-07T09:40:06.031Z
|
|
5
5
|
*
|
|
6
6
|
* @preserve
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
/// <reference types="@intelligentgraphics/3d.ig.gfx.core" />
|
|
10
|
-
declare module IGX.Std {
|
|
8
|
+
declare namespace IGX.Std {
|
|
11
9
|
const Minimum = "Minimum";
|
|
12
10
|
const Maximum = "Maximum";
|
|
13
11
|
const Snap = "Snap";
|
|
@@ -93,6 +91,14 @@ declare module IGX.Std {
|
|
|
93
91
|
* @default false
|
|
94
92
|
*/
|
|
95
93
|
Record?: string | boolean;
|
|
94
|
+
/**
|
|
95
|
+
* when animation should start 0 (default) to 1.0
|
|
96
|
+
*/
|
|
97
|
+
StartTime?: number | string;
|
|
98
|
+
/**
|
|
99
|
+
* When animation should be finished 0 to 1.0 (default)
|
|
100
|
+
*/
|
|
101
|
+
EndTime?: number | string;
|
|
96
102
|
}
|
|
97
103
|
function SetupValue<P extends object>(parameters: P, key: keyof P, fallbackValue: number): void;
|
|
98
104
|
var SetupValues: (parameters: AnimationParameters & {
|
|
@@ -112,7 +118,7 @@ declare module IGX.Std {
|
|
|
112
118
|
*/
|
|
113
119
|
function getAbsPath(componentId: string, relPath: string): string;
|
|
114
120
|
}
|
|
115
|
-
declare
|
|
121
|
+
declare namespace IGX.Std {
|
|
116
122
|
class KinematicChain {
|
|
117
123
|
/** how are these joints inserted? (unit vector for all joints) */
|
|
118
124
|
GeometryBase: string;
|
|
@@ -196,7 +202,7 @@ declare module IGX.Std {
|
|
|
196
202
|
*
|
|
197
203
|
* Copyright (C) 2013 - 2024 intelligentgraphics AG. All Rights Reserved.
|
|
198
204
|
*/
|
|
199
|
-
declare
|
|
205
|
+
declare namespace IGX.Std {
|
|
200
206
|
/**
|
|
201
207
|
* Describes an animation state. An animation state may provide values for
|
|
202
208
|
* Rotation and/or Position and/or Scaling and/or Deformation.
|
|
@@ -313,7 +319,7 @@ declare module IGX.Std {
|
|
|
313
319
|
}[];
|
|
314
320
|
}
|
|
315
321
|
}
|
|
316
|
-
declare
|
|
322
|
+
declare namespace IGX.Std {
|
|
317
323
|
type Array3 = [number, number, number];
|
|
318
324
|
export type ShadowScene = Record<string, {
|
|
319
325
|
position: Float3;
|
|
@@ -384,6 +390,10 @@ declare module IGX.Std {
|
|
|
384
390
|
GetDeformation(componentId: string): number;
|
|
385
391
|
SetDeformation(componentId: string, value: number): void;
|
|
386
392
|
SetPosition(componentId: string, pos: IGX.Float3): void;
|
|
393
|
+
/**
|
|
394
|
+
* Write complex Rotation to external scenegraph
|
|
395
|
+
*/
|
|
396
|
+
SetQuaternionRotation(componentId: string, x: number, y: number, z: number, w: number): void;
|
|
387
397
|
SetXRotation(componentId: string, rotation: number): void;
|
|
388
398
|
SetYRotation(componentId: string, rotation: number): void;
|
|
389
399
|
SetZRotation(componentId: string, rotation: number): void;
|
|
@@ -624,7 +634,7 @@ declare namespace IGX.Std {
|
|
|
624
634
|
static rotationMatrix(rotationNormal: Float3, angRad: number): number[][];
|
|
625
635
|
}
|
|
626
636
|
}
|
|
627
|
-
declare
|
|
637
|
+
declare namespace IGX.Std {
|
|
628
638
|
/**
|
|
629
639
|
* Parameters for the XRangeRotator class
|
|
630
640
|
*/
|
|
@@ -718,10 +728,11 @@ declare module IGX.Std {
|
|
|
718
728
|
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
719
729
|
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
720
730
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
731
|
+
GetHints(): number[];
|
|
721
732
|
}
|
|
722
733
|
export {};
|
|
723
734
|
}
|
|
724
|
-
declare
|
|
735
|
+
declare namespace IGX.Std {
|
|
725
736
|
/**
|
|
726
737
|
* Parameters for the XRangeTranslator class
|
|
727
738
|
*/
|
|
@@ -815,10 +826,11 @@ declare module IGX.Std {
|
|
|
815
826
|
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
816
827
|
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
817
828
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
829
|
+
GetHints(): number[];
|
|
818
830
|
}
|
|
819
831
|
export {};
|
|
820
832
|
}
|
|
821
|
-
declare
|
|
833
|
+
declare namespace IGX.Std {
|
|
822
834
|
/**
|
|
823
835
|
* Parameters for the XRasterRotator class
|
|
824
836
|
*/
|
|
@@ -915,7 +927,7 @@ declare module IGX.Std {
|
|
|
915
927
|
}
|
|
916
928
|
export {};
|
|
917
929
|
}
|
|
918
|
-
declare
|
|
930
|
+
declare namespace IGX.Std {
|
|
919
931
|
/**
|
|
920
932
|
* Parameters for the XRasterTranslator class
|
|
921
933
|
*/
|
|
@@ -1012,7 +1024,7 @@ declare module IGX.Std {
|
|
|
1012
1024
|
}
|
|
1013
1025
|
export {};
|
|
1014
1026
|
}
|
|
1015
|
-
declare
|
|
1027
|
+
declare namespace IGX.Std {
|
|
1016
1028
|
/**
|
|
1017
1029
|
* Parameters for the XValueRotator class
|
|
1018
1030
|
*/
|
|
@@ -1072,7 +1084,7 @@ declare module IGX.Std {
|
|
|
1072
1084
|
}
|
|
1073
1085
|
export {};
|
|
1074
1086
|
}
|
|
1075
|
-
declare
|
|
1087
|
+
declare namespace IGX.Std {
|
|
1076
1088
|
/**
|
|
1077
1089
|
* Parameters for the XValueTranslator class
|
|
1078
1090
|
*/
|
|
@@ -1132,7 +1144,7 @@ declare module IGX.Std {
|
|
|
1132
1144
|
}
|
|
1133
1145
|
export {};
|
|
1134
1146
|
}
|
|
1135
|
-
declare
|
|
1147
|
+
declare namespace IGX.Std {
|
|
1136
1148
|
/**
|
|
1137
1149
|
* Parameters for the YRangeRotator class
|
|
1138
1150
|
*/
|
|
@@ -1226,10 +1238,11 @@ declare module IGX.Std {
|
|
|
1226
1238
|
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
1227
1239
|
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
1228
1240
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1241
|
+
GetHints(): number[];
|
|
1229
1242
|
}
|
|
1230
1243
|
export {};
|
|
1231
1244
|
}
|
|
1232
|
-
declare
|
|
1245
|
+
declare namespace IGX.Std {
|
|
1233
1246
|
/**
|
|
1234
1247
|
* Parameters for the YRangeTranslator class
|
|
1235
1248
|
*/
|
|
@@ -1323,10 +1336,11 @@ declare module IGX.Std {
|
|
|
1323
1336
|
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
1324
1337
|
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
1325
1338
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1339
|
+
GetHints(): number[];
|
|
1326
1340
|
}
|
|
1327
1341
|
export {};
|
|
1328
1342
|
}
|
|
1329
|
-
declare
|
|
1343
|
+
declare namespace IGX.Std {
|
|
1330
1344
|
/**
|
|
1331
1345
|
* Parameters for the YRasterRotator class
|
|
1332
1346
|
*/
|
|
@@ -1409,7 +1423,7 @@ declare module IGX.Std {
|
|
|
1409
1423
|
}
|
|
1410
1424
|
export {};
|
|
1411
1425
|
}
|
|
1412
|
-
declare
|
|
1426
|
+
declare namespace IGX.Std {
|
|
1413
1427
|
/**
|
|
1414
1428
|
* Parameters for the YRasterTranslator class
|
|
1415
1429
|
*/
|
|
@@ -1492,7 +1506,7 @@ declare module IGX.Std {
|
|
|
1492
1506
|
}
|
|
1493
1507
|
export {};
|
|
1494
1508
|
}
|
|
1495
|
-
declare
|
|
1509
|
+
declare namespace IGX.Std {
|
|
1496
1510
|
/**
|
|
1497
1511
|
* Parameters for the YValueRotator class
|
|
1498
1512
|
*/
|
|
@@ -1552,7 +1566,7 @@ declare module IGX.Std {
|
|
|
1552
1566
|
}
|
|
1553
1567
|
export {};
|
|
1554
1568
|
}
|
|
1555
|
-
declare
|
|
1569
|
+
declare namespace IGX.Std {
|
|
1556
1570
|
/**
|
|
1557
1571
|
* Parameters for the YValueTranslator class
|
|
1558
1572
|
*/
|
|
@@ -1612,7 +1626,7 @@ declare module IGX.Std {
|
|
|
1612
1626
|
}
|
|
1613
1627
|
export {};
|
|
1614
1628
|
}
|
|
1615
|
-
declare
|
|
1629
|
+
declare namespace IGX.Std {
|
|
1616
1630
|
/**
|
|
1617
1631
|
* Parameters for the ZRangeRotator class
|
|
1618
1632
|
*/
|
|
@@ -1706,10 +1720,11 @@ declare module IGX.Std {
|
|
|
1706
1720
|
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
1707
1721
|
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
1708
1722
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1723
|
+
GetHints(): number[];
|
|
1709
1724
|
}
|
|
1710
1725
|
export {};
|
|
1711
1726
|
}
|
|
1712
|
-
declare
|
|
1727
|
+
declare namespace IGX.Std {
|
|
1713
1728
|
/**
|
|
1714
1729
|
* Parameters for the ZRangeTranslator class
|
|
1715
1730
|
*/
|
|
@@ -1803,10 +1818,11 @@ declare module IGX.Std {
|
|
|
1803
1818
|
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
1804
1819
|
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
1805
1820
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1821
|
+
GetHints(): number[];
|
|
1806
1822
|
}
|
|
1807
1823
|
export {};
|
|
1808
1824
|
}
|
|
1809
|
-
declare
|
|
1825
|
+
declare namespace IGX.Std {
|
|
1810
1826
|
class ZRasterRotator extends IGX.Core.Interactor {
|
|
1811
1827
|
absRotation: number;
|
|
1812
1828
|
nullAxis: Float3;
|
|
@@ -1820,7 +1836,7 @@ declare module IGX.Std {
|
|
|
1820
1836
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1821
1837
|
}
|
|
1822
1838
|
}
|
|
1823
|
-
declare
|
|
1839
|
+
declare namespace IGX.Std {
|
|
1824
1840
|
class ZRasterTranslator extends IGX.Core.Interactor {
|
|
1825
1841
|
osCoords: Float3;
|
|
1826
1842
|
startPosition: number;
|
|
@@ -1834,7 +1850,7 @@ declare module IGX.Std {
|
|
|
1834
1850
|
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1835
1851
|
}
|
|
1836
1852
|
}
|
|
1837
|
-
declare
|
|
1853
|
+
declare namespace IGX.Std {
|
|
1838
1854
|
/**
|
|
1839
1855
|
* Parameters for the ZValueRotator class
|
|
1840
1856
|
*/
|
|
@@ -1894,7 +1910,67 @@ declare module IGX.Std {
|
|
|
1894
1910
|
}
|
|
1895
1911
|
export {};
|
|
1896
1912
|
}
|
|
1897
|
-
declare
|
|
1913
|
+
declare namespace IGX.Std {
|
|
1914
|
+
/**
|
|
1915
|
+
* Parameters for the ZValueTranslator class
|
|
1916
|
+
*/
|
|
1917
|
+
interface ZValueTranslatorParams {
|
|
1918
|
+
/**
|
|
1919
|
+
* Array of available position values
|
|
1920
|
+
*
|
|
1921
|
+
* @creatorType LengthM[]
|
|
1922
|
+
* @default "[0.0, 1.0]"
|
|
1923
|
+
*/
|
|
1924
|
+
Values?: string;
|
|
1925
|
+
/**
|
|
1926
|
+
* Value for Start state
|
|
1927
|
+
*
|
|
1928
|
+
* @creatorType LengthM
|
|
1929
|
+
* @default null
|
|
1930
|
+
*/
|
|
1931
|
+
Start?: number;
|
|
1932
|
+
/**
|
|
1933
|
+
* Value for End state
|
|
1934
|
+
*
|
|
1935
|
+
* @creatorType LengthM
|
|
1936
|
+
* @default null
|
|
1937
|
+
*/
|
|
1938
|
+
End?: number;
|
|
1939
|
+
/**
|
|
1940
|
+
* Animation stage
|
|
1941
|
+
*
|
|
1942
|
+
* @creatorType Integer
|
|
1943
|
+
* @default 1
|
|
1944
|
+
*/
|
|
1945
|
+
Stage?: number;
|
|
1946
|
+
/**
|
|
1947
|
+
* Animation period
|
|
1948
|
+
*
|
|
1949
|
+
* @creatorType Float
|
|
1950
|
+
* @default 1
|
|
1951
|
+
*/
|
|
1952
|
+
Period?: number;
|
|
1953
|
+
/**
|
|
1954
|
+
* Mouse interaction possible
|
|
1955
|
+
*
|
|
1956
|
+
* @creatorType Boolean
|
|
1957
|
+
* @default true
|
|
1958
|
+
*/
|
|
1959
|
+
Manual?: boolean;
|
|
1960
|
+
}
|
|
1961
|
+
export class ZValueTranslator extends IGX.Core.Interactor {
|
|
1962
|
+
osCoords: Float3;
|
|
1963
|
+
startPosition: number;
|
|
1964
|
+
constructor(parameters: ZValueTranslatorParams);
|
|
1965
|
+
SetPosition(position: any): void;
|
|
1966
|
+
SingleTouchStart(touch: IGX.Core.Touch): void;
|
|
1967
|
+
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
1968
|
+
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
1969
|
+
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
1970
|
+
}
|
|
1971
|
+
export {};
|
|
1972
|
+
}
|
|
1973
|
+
declare namespace IGX.Std {
|
|
1898
1974
|
interface Params extends Pick<AnimationParameters, "Start" | "End" | "StageStart" | "StageEnd" | "Stage" | "Period"> {
|
|
1899
1975
|
/**
|
|
1900
1976
|
* The start value
|
|
@@ -1936,7 +2012,7 @@ declare module IGX.Std {
|
|
|
1936
2012
|
}
|
|
1937
2013
|
export {};
|
|
1938
2014
|
}
|
|
1939
|
-
declare
|
|
2015
|
+
declare namespace IGX.Std {
|
|
1940
2016
|
/**
|
|
1941
2017
|
* An Interactor for JSON animations with inverse kinematics.
|
|
1942
2018
|
* Needs AnimationInteractor!
|
|
@@ -2041,7 +2117,7 @@ declare module IGX.Std {
|
|
|
2041
2117
|
private constrain;
|
|
2042
2118
|
}
|
|
2043
2119
|
}
|
|
2044
|
-
declare
|
|
2120
|
+
declare namespace IGX.Std {
|
|
2045
2121
|
class Cache {
|
|
2046
2122
|
private rootId;
|
|
2047
2123
|
private stepSize;
|
|
@@ -2069,355 +2145,355 @@ declare module IGX.Std {
|
|
|
2069
2145
|
interpolate(position: number): ShadowScene;
|
|
2070
2146
|
}
|
|
2071
2147
|
}
|
|
2072
|
-
declare
|
|
2148
|
+
declare namespace IGX.Std {
|
|
2073
2149
|
interface OtherParameters {
|
|
2074
2150
|
/**
|
|
2075
2151
|
* Parameter for animations and kinematics
|
|
2076
2152
|
*
|
|
2077
|
-
* @creatorType
|
|
2153
|
+
* @creatorType Any
|
|
2078
2154
|
* @default "null"
|
|
2079
2155
|
*/
|
|
2080
2156
|
Param1?: string;
|
|
2081
2157
|
/**
|
|
2082
2158
|
* Parameter for animations and kinematics
|
|
2083
2159
|
*
|
|
2084
|
-
* @creatorType
|
|
2160
|
+
* @creatorType Any
|
|
2085
2161
|
* @default "null"
|
|
2086
2162
|
*/
|
|
2087
2163
|
Param2?: string;
|
|
2088
2164
|
/**
|
|
2089
2165
|
* Parameter for animations and kinematics
|
|
2090
2166
|
*
|
|
2091
|
-
* @creatorType
|
|
2167
|
+
* @creatorType Any
|
|
2092
2168
|
* @default "null"
|
|
2093
2169
|
*/
|
|
2094
2170
|
Param3?: string;
|
|
2095
2171
|
/**
|
|
2096
2172
|
* Parameter for animations and kinematics
|
|
2097
2173
|
*
|
|
2098
|
-
* @creatorType
|
|
2174
|
+
* @creatorType Any
|
|
2099
2175
|
* @default "null"
|
|
2100
2176
|
*/
|
|
2101
2177
|
Param4?: string;
|
|
2102
2178
|
/**
|
|
2103
2179
|
* Parameter for animations and kinematics
|
|
2104
2180
|
*
|
|
2105
|
-
* @creatorType
|
|
2181
|
+
* @creatorType Any
|
|
2106
2182
|
* @default "null"
|
|
2107
2183
|
*/
|
|
2108
2184
|
Param5?: string;
|
|
2109
2185
|
/**
|
|
2110
2186
|
* Parameter for animations and kinematics
|
|
2111
2187
|
*
|
|
2112
|
-
* @creatorType
|
|
2188
|
+
* @creatorType Any
|
|
2113
2189
|
* @default "null"
|
|
2114
2190
|
*/
|
|
2115
2191
|
Param6?: string;
|
|
2116
2192
|
/**
|
|
2117
2193
|
* Parameter for animations and kinematics
|
|
2118
2194
|
*
|
|
2119
|
-
* @creatorType
|
|
2195
|
+
* @creatorType Any
|
|
2120
2196
|
* @default "null"
|
|
2121
2197
|
*/
|
|
2122
2198
|
Param7?: string;
|
|
2123
2199
|
/**
|
|
2124
2200
|
* Parameter for animations and kinematics
|
|
2125
2201
|
*
|
|
2126
|
-
* @creatorType
|
|
2202
|
+
* @creatorType Any
|
|
2127
2203
|
* @default "null"
|
|
2128
2204
|
*/
|
|
2129
2205
|
Param8?: string;
|
|
2130
2206
|
/**
|
|
2131
2207
|
* Parameter for animations and kinematics
|
|
2132
2208
|
*
|
|
2133
|
-
* @creatorType
|
|
2209
|
+
* @creatorType Any
|
|
2134
2210
|
* @default "null"
|
|
2135
2211
|
*/
|
|
2136
2212
|
Param9?: string;
|
|
2137
2213
|
/**
|
|
2138
2214
|
* Parameter for animations and kinematics
|
|
2139
2215
|
*
|
|
2140
|
-
* @creatorType
|
|
2216
|
+
* @creatorType Any
|
|
2141
2217
|
* @default "null"
|
|
2142
2218
|
*/
|
|
2143
2219
|
Param10?: string;
|
|
2144
2220
|
/**
|
|
2145
2221
|
* Parameter for animations and kinematics
|
|
2146
2222
|
*
|
|
2147
|
-
* @creatorType
|
|
2223
|
+
* @creatorType Any
|
|
2148
2224
|
* @default "null"
|
|
2149
2225
|
*/
|
|
2150
2226
|
Param11?: string;
|
|
2151
2227
|
/**
|
|
2152
2228
|
* Parameter for animations and kinematics
|
|
2153
2229
|
*
|
|
2154
|
-
* @creatorType
|
|
2230
|
+
* @creatorType Any
|
|
2155
2231
|
* @default "null"
|
|
2156
2232
|
*/
|
|
2157
2233
|
Param12?: string;
|
|
2158
2234
|
/**
|
|
2159
2235
|
* Parameter for animations and kinematics
|
|
2160
2236
|
*
|
|
2161
|
-
* @creatorType
|
|
2237
|
+
* @creatorType Any
|
|
2162
2238
|
* @default "null"
|
|
2163
2239
|
*/
|
|
2164
2240
|
Param13?: string;
|
|
2165
2241
|
/**
|
|
2166
2242
|
* Parameter for animations and kinematics
|
|
2167
2243
|
*
|
|
2168
|
-
* @creatorType
|
|
2244
|
+
* @creatorType Any
|
|
2169
2245
|
* @default "null"
|
|
2170
2246
|
*/
|
|
2171
2247
|
Param14?: string;
|
|
2172
2248
|
/**
|
|
2173
2249
|
* Parameter for animations and kinematics
|
|
2174
2250
|
*
|
|
2175
|
-
* @creatorType
|
|
2251
|
+
* @creatorType Any
|
|
2176
2252
|
* @default "null"
|
|
2177
2253
|
*/
|
|
2178
2254
|
Param15?: string;
|
|
2179
2255
|
/**
|
|
2180
2256
|
* Parameter for animations and kinematics
|
|
2181
2257
|
*
|
|
2182
|
-
* @creatorType
|
|
2258
|
+
* @creatorType Any
|
|
2183
2259
|
* @default "null"
|
|
2184
2260
|
*/
|
|
2185
2261
|
Param16?: string;
|
|
2186
2262
|
/**
|
|
2187
2263
|
* Parameter for animations and kinematics
|
|
2188
2264
|
*
|
|
2189
|
-
* @creatorType
|
|
2265
|
+
* @creatorType Any
|
|
2190
2266
|
* @default "null"
|
|
2191
2267
|
*/
|
|
2192
2268
|
Param17?: string;
|
|
2193
2269
|
/**
|
|
2194
2270
|
* Parameter for animations and kinematics
|
|
2195
2271
|
*
|
|
2196
|
-
* @creatorType
|
|
2272
|
+
* @creatorType Any
|
|
2197
2273
|
* @default "null"
|
|
2198
2274
|
*/
|
|
2199
2275
|
Param18?: string;
|
|
2200
2276
|
/**
|
|
2201
2277
|
* Parameter for animations and kinematics
|
|
2202
2278
|
*
|
|
2203
|
-
* @creatorType
|
|
2279
|
+
* @creatorType Any
|
|
2204
2280
|
* @default "null"
|
|
2205
2281
|
*/
|
|
2206
2282
|
Param19?: string;
|
|
2207
2283
|
/**
|
|
2208
2284
|
* Parameter for animations and kinematics
|
|
2209
2285
|
*
|
|
2210
|
-
* @creatorType
|
|
2286
|
+
* @creatorType Any
|
|
2211
2287
|
* @default "null"
|
|
2212
2288
|
*/
|
|
2213
2289
|
Param20?: string;
|
|
2214
2290
|
/**
|
|
2215
2291
|
* Parameter for animations and kinematics
|
|
2216
2292
|
*
|
|
2217
|
-
* @creatorType
|
|
2293
|
+
* @creatorType Any
|
|
2218
2294
|
* @default "null"
|
|
2219
2295
|
*/
|
|
2220
2296
|
Param21?: string;
|
|
2221
2297
|
/**
|
|
2222
2298
|
* Parameter for animations and kinematics
|
|
2223
2299
|
*
|
|
2224
|
-
* @creatorType
|
|
2300
|
+
* @creatorType Any
|
|
2225
2301
|
* @default "null"
|
|
2226
2302
|
*/
|
|
2227
2303
|
Param22?: string;
|
|
2228
2304
|
/**
|
|
2229
2305
|
* Parameter for animations and kinematics
|
|
2230
2306
|
*
|
|
2231
|
-
* @creatorType
|
|
2307
|
+
* @creatorType Any
|
|
2232
2308
|
* @default "null"
|
|
2233
2309
|
*/
|
|
2234
2310
|
Param23?: string;
|
|
2235
2311
|
/**
|
|
2236
2312
|
* Parameter for animations and kinematics
|
|
2237
2313
|
*
|
|
2238
|
-
* @creatorType
|
|
2314
|
+
* @creatorType Any
|
|
2239
2315
|
* @default "null"
|
|
2240
2316
|
*/
|
|
2241
2317
|
Param24?: string;
|
|
2242
2318
|
/**
|
|
2243
2319
|
* Parameter for animations and kinematics
|
|
2244
2320
|
*
|
|
2245
|
-
* @creatorType
|
|
2321
|
+
* @creatorType Any
|
|
2246
2322
|
* @default "null"
|
|
2247
2323
|
*/
|
|
2248
2324
|
Param25?: string;
|
|
2249
2325
|
/**
|
|
2250
2326
|
* Parameter for animations and kinematics
|
|
2251
2327
|
*
|
|
2252
|
-
* @creatorType
|
|
2328
|
+
* @creatorType Any
|
|
2253
2329
|
* @default "null"
|
|
2254
2330
|
*/
|
|
2255
2331
|
Param26?: string;
|
|
2256
2332
|
/**
|
|
2257
2333
|
* Parameter for animations and kinematics
|
|
2258
2334
|
*
|
|
2259
|
-
* @creatorType
|
|
2335
|
+
* @creatorType Any
|
|
2260
2336
|
* @default "null"
|
|
2261
2337
|
*/
|
|
2262
2338
|
Param27?: string;
|
|
2263
2339
|
/**
|
|
2264
2340
|
* Parameter for animations and kinematics
|
|
2265
2341
|
*
|
|
2266
|
-
* @creatorType
|
|
2342
|
+
* @creatorType Any
|
|
2267
2343
|
* @default "null"
|
|
2268
2344
|
*/
|
|
2269
2345
|
Param28?: string;
|
|
2270
2346
|
/**
|
|
2271
2347
|
* Parameter for animations and kinematics
|
|
2272
2348
|
*
|
|
2273
|
-
* @creatorType
|
|
2349
|
+
* @creatorType Any
|
|
2274
2350
|
* @default "null"
|
|
2275
2351
|
*/
|
|
2276
2352
|
Param29?: string;
|
|
2277
2353
|
/**
|
|
2278
2354
|
* Parameter for animations and kinematics
|
|
2279
2355
|
*
|
|
2280
|
-
* @creatorType
|
|
2356
|
+
* @creatorType Any
|
|
2281
2357
|
* @default "null"
|
|
2282
2358
|
*/
|
|
2283
2359
|
Param30?: string;
|
|
2284
2360
|
/**
|
|
2285
2361
|
* Parameter for animations and kinematics
|
|
2286
2362
|
*
|
|
2287
|
-
* @creatorType
|
|
2363
|
+
* @creatorType Any
|
|
2288
2364
|
* @default "null"
|
|
2289
2365
|
*/
|
|
2290
2366
|
Param31?: string;
|
|
2291
2367
|
/**
|
|
2292
2368
|
* Parameter for animations and kinematics
|
|
2293
2369
|
*
|
|
2294
|
-
* @creatorType
|
|
2370
|
+
* @creatorType Any
|
|
2295
2371
|
* @default "null"
|
|
2296
2372
|
*/
|
|
2297
2373
|
Param32?: string;
|
|
2298
2374
|
/**
|
|
2299
2375
|
* Parameter for animations and kinematics
|
|
2300
2376
|
*
|
|
2301
|
-
* @creatorType
|
|
2377
|
+
* @creatorType Any
|
|
2302
2378
|
* @default "null"
|
|
2303
2379
|
*/
|
|
2304
2380
|
Param33?: string;
|
|
2305
2381
|
/**
|
|
2306
2382
|
* Parameter for animations and kinematics
|
|
2307
2383
|
*
|
|
2308
|
-
* @creatorType
|
|
2384
|
+
* @creatorType Any
|
|
2309
2385
|
* @default "null"
|
|
2310
2386
|
*/
|
|
2311
2387
|
Param34?: string;
|
|
2312
2388
|
/**
|
|
2313
2389
|
* Parameter for animations and kinematics
|
|
2314
2390
|
*
|
|
2315
|
-
* @creatorType
|
|
2391
|
+
* @creatorType Any
|
|
2316
2392
|
* @default "null"
|
|
2317
2393
|
*/
|
|
2318
2394
|
Param35?: string;
|
|
2319
2395
|
/**
|
|
2320
2396
|
* Parameter for animations and kinematics
|
|
2321
2397
|
*
|
|
2322
|
-
* @creatorType
|
|
2398
|
+
* @creatorType Any
|
|
2323
2399
|
* @default "null"
|
|
2324
2400
|
*/
|
|
2325
2401
|
Param36?: string;
|
|
2326
2402
|
/**
|
|
2327
2403
|
* Parameter for animations and kinematics
|
|
2328
2404
|
*
|
|
2329
|
-
* @creatorType
|
|
2405
|
+
* @creatorType Any
|
|
2330
2406
|
* @default "null"
|
|
2331
2407
|
*/
|
|
2332
2408
|
Param37?: string;
|
|
2333
2409
|
/**
|
|
2334
2410
|
* Parameter for animations and kinematics
|
|
2335
2411
|
*
|
|
2336
|
-
* @creatorType
|
|
2412
|
+
* @creatorType Any
|
|
2337
2413
|
* @default "null"
|
|
2338
2414
|
*/
|
|
2339
2415
|
Param38?: string;
|
|
2340
2416
|
/**
|
|
2341
2417
|
* Parameter for animations and kinematics
|
|
2342
2418
|
*
|
|
2343
|
-
* @creatorType
|
|
2419
|
+
* @creatorType Any
|
|
2344
2420
|
* @default "null"
|
|
2345
2421
|
*/
|
|
2346
2422
|
Param39?: string;
|
|
2347
2423
|
/**
|
|
2348
2424
|
* Parameter for animations and kinematics
|
|
2349
2425
|
*
|
|
2350
|
-
* @creatorType
|
|
2426
|
+
* @creatorType Any
|
|
2351
2427
|
* @default "null"
|
|
2352
2428
|
*/
|
|
2353
2429
|
Param40?: string;
|
|
2354
2430
|
/**
|
|
2355
2431
|
* Parameter for animations and kinematics
|
|
2356
2432
|
*
|
|
2357
|
-
* @creatorType
|
|
2433
|
+
* @creatorType Any
|
|
2358
2434
|
* @default "null"
|
|
2359
2435
|
*/
|
|
2360
2436
|
Param41?: string;
|
|
2361
2437
|
/**
|
|
2362
2438
|
* Parameter for animations and kinematics
|
|
2363
2439
|
*
|
|
2364
|
-
* @creatorType
|
|
2440
|
+
* @creatorType Any
|
|
2365
2441
|
* @default "null"
|
|
2366
2442
|
*/
|
|
2367
2443
|
Param42?: string;
|
|
2368
2444
|
/**
|
|
2369
2445
|
* Parameter for animations and kinematics
|
|
2370
2446
|
*
|
|
2371
|
-
* @creatorType
|
|
2447
|
+
* @creatorType Any
|
|
2372
2448
|
* @default "null"
|
|
2373
2449
|
*/
|
|
2374
2450
|
Param43?: string;
|
|
2375
2451
|
/**
|
|
2376
2452
|
* Parameter for animations and kinematics
|
|
2377
2453
|
*
|
|
2378
|
-
* @creatorType
|
|
2454
|
+
* @creatorType Any
|
|
2379
2455
|
* @default "null"
|
|
2380
2456
|
*/
|
|
2381
2457
|
Param44?: string;
|
|
2382
2458
|
/**
|
|
2383
2459
|
* Parameter for animations and kinematics
|
|
2384
2460
|
*
|
|
2385
|
-
* @creatorType
|
|
2461
|
+
* @creatorType Any
|
|
2386
2462
|
* @default "null"
|
|
2387
2463
|
*/
|
|
2388
2464
|
Param45?: string;
|
|
2389
2465
|
/**
|
|
2390
2466
|
* Parameter for animations and kinematics
|
|
2391
2467
|
*
|
|
2392
|
-
* @creatorType
|
|
2468
|
+
* @creatorType Any
|
|
2393
2469
|
* @default "null"
|
|
2394
2470
|
*/
|
|
2395
2471
|
Param46?: string;
|
|
2396
2472
|
/**
|
|
2397
2473
|
* Parameter for animations and kinematics
|
|
2398
2474
|
*
|
|
2399
|
-
* @creatorType
|
|
2475
|
+
* @creatorType Any
|
|
2400
2476
|
* @default "null"
|
|
2401
2477
|
*/
|
|
2402
2478
|
Param47?: string;
|
|
2403
2479
|
/**
|
|
2404
2480
|
* Parameter for animations and kinematics
|
|
2405
2481
|
*
|
|
2406
|
-
* @creatorType
|
|
2482
|
+
* @creatorType Any
|
|
2407
2483
|
* @default "null"
|
|
2408
2484
|
*/
|
|
2409
2485
|
Param48?: string;
|
|
2410
2486
|
/**
|
|
2411
2487
|
* Parameter for animations and kinematics
|
|
2412
2488
|
*
|
|
2413
|
-
* @creatorType
|
|
2489
|
+
* @creatorType Any
|
|
2414
2490
|
* @default "null"
|
|
2415
2491
|
*/
|
|
2416
2492
|
Param49?: string;
|
|
2417
2493
|
/**
|
|
2418
2494
|
* Parameter for animations and kinematics
|
|
2419
2495
|
*
|
|
2420
|
-
* @creatorType
|
|
2496
|
+
* @creatorType Any
|
|
2421
2497
|
* @default "null"
|
|
2422
2498
|
*/
|
|
2423
2499
|
Param50?: string;
|
|
@@ -2439,6 +2515,13 @@ declare module IGX.Std {
|
|
|
2439
2515
|
* @default "null"
|
|
2440
2516
|
*/
|
|
2441
2517
|
BackwardAnimation?: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* Plays the full animation [0.0] to [0.5] and then backwards [0.5] to [1.0].
|
|
2520
|
+
*
|
|
2521
|
+
* @creatorType Boolean
|
|
2522
|
+
* @default false
|
|
2523
|
+
*/
|
|
2524
|
+
AutoReset?: boolean | string;
|
|
2442
2525
|
}
|
|
2443
2526
|
/** An Interactor for JSON animations */
|
|
2444
2527
|
export class AnimationInteractor extends IGX.Core.Interactor {
|
|
@@ -2461,6 +2544,10 @@ declare module IGX.Std {
|
|
|
2461
2544
|
private d;
|
|
2462
2545
|
private IGX_API;
|
|
2463
2546
|
Debug: boolean;
|
|
2547
|
+
private autoReset;
|
|
2548
|
+
static windowReplacement: {
|
|
2549
|
+
comment: string;
|
|
2550
|
+
};
|
|
2464
2551
|
constructor(parameters: AnimationInteractorParams);
|
|
2465
2552
|
setUseCache(value: boolean): void;
|
|
2466
2553
|
private PrepAnimation;
|
|
@@ -2478,11 +2565,12 @@ declare module IGX.Std {
|
|
|
2478
2565
|
private detectQuaternion;
|
|
2479
2566
|
private slerpInPlaceA;
|
|
2480
2567
|
private calculate___SetStagePositionInternal;
|
|
2568
|
+
GetHints(): number[];
|
|
2481
2569
|
}
|
|
2482
2570
|
export const Test1: Animation;
|
|
2483
2571
|
export {};
|
|
2484
2572
|
}
|
|
2485
|
-
declare
|
|
2573
|
+
declare namespace IGX.Std {
|
|
2486
2574
|
/**
|
|
2487
2575
|
* Parameters for the DeformationInteractor class
|
|
2488
2576
|
*/
|
|
@@ -2538,7 +2626,7 @@ declare module IGX.Std {
|
|
|
2538
2626
|
}
|
|
2539
2627
|
export {};
|
|
2540
2628
|
}
|
|
2541
|
-
declare
|
|
2629
|
+
declare namespace IGX.Std {
|
|
2542
2630
|
/**
|
|
2543
2631
|
* Parameters for the OffsetRotator class
|
|
2544
2632
|
*/
|
|
@@ -2628,10 +2716,11 @@ declare module IGX.Std {
|
|
|
2628
2716
|
SetPosition(position: string): void;
|
|
2629
2717
|
setPosition(position: number): void;
|
|
2630
2718
|
SetStagePosition(stage: number, position: number): void;
|
|
2719
|
+
GetHints(): number[];
|
|
2631
2720
|
}
|
|
2632
2721
|
export {};
|
|
2633
2722
|
}
|
|
2634
|
-
declare
|
|
2723
|
+
declare namespace IGX.Std {
|
|
2635
2724
|
/**
|
|
2636
2725
|
* Parameters for the VisibilityInteractor class
|
|
2637
2726
|
*/
|
|
@@ -2665,67 +2754,7 @@ declare module IGX.Std {
|
|
|
2665
2754
|
}
|
|
2666
2755
|
export {};
|
|
2667
2756
|
}
|
|
2668
|
-
declare
|
|
2669
|
-
/**
|
|
2670
|
-
* Parameters for the ZValueTranslator class
|
|
2671
|
-
*/
|
|
2672
|
-
interface ZValueTranslatorParams {
|
|
2673
|
-
/**
|
|
2674
|
-
* Array of available position values
|
|
2675
|
-
*
|
|
2676
|
-
* @creatorType LengthM[]
|
|
2677
|
-
* @default "[0.0, 1.0]"
|
|
2678
|
-
*/
|
|
2679
|
-
Values?: string;
|
|
2680
|
-
/**
|
|
2681
|
-
* Value for Start state
|
|
2682
|
-
*
|
|
2683
|
-
* @creatorType LengthM
|
|
2684
|
-
* @default null
|
|
2685
|
-
*/
|
|
2686
|
-
Start?: number;
|
|
2687
|
-
/**
|
|
2688
|
-
* Value for End state
|
|
2689
|
-
*
|
|
2690
|
-
* @creatorType LengthM
|
|
2691
|
-
* @default null
|
|
2692
|
-
*/
|
|
2693
|
-
End?: number;
|
|
2694
|
-
/**
|
|
2695
|
-
* Animation stage
|
|
2696
|
-
*
|
|
2697
|
-
* @creatorType Integer
|
|
2698
|
-
* @default 1
|
|
2699
|
-
*/
|
|
2700
|
-
Stage?: number;
|
|
2701
|
-
/**
|
|
2702
|
-
* Animation period
|
|
2703
|
-
*
|
|
2704
|
-
* @creatorType Float
|
|
2705
|
-
* @default 1
|
|
2706
|
-
*/
|
|
2707
|
-
Period?: number;
|
|
2708
|
-
/**
|
|
2709
|
-
* Mouse interaction possible
|
|
2710
|
-
*
|
|
2711
|
-
* @creatorType Boolean
|
|
2712
|
-
* @default true
|
|
2713
|
-
*/
|
|
2714
|
-
Manual?: boolean;
|
|
2715
|
-
}
|
|
2716
|
-
export class ZValueTranslator extends IGX.Core.Interactor {
|
|
2717
|
-
osCoords: Float3;
|
|
2718
|
-
startPosition: number;
|
|
2719
|
-
constructor(parameters: ZValueTranslatorParams);
|
|
2720
|
-
SetPosition(position: any): void;
|
|
2721
|
-
SingleTouchStart(touch: IGX.Core.Touch): void;
|
|
2722
|
-
SingleTouchMotion(touch: IGX.Core.Touch): void;
|
|
2723
|
-
SingleTouchEnd(touch: IGX.Core.Touch): void;
|
|
2724
|
-
ApplyMotion(touch: IGX.Core.Touch, isFinal: boolean): void;
|
|
2725
|
-
}
|
|
2726
|
-
export {};
|
|
2727
|
-
}
|
|
2728
|
-
declare module IGX.Std {
|
|
2757
|
+
declare namespace IGX.Std {
|
|
2729
2758
|
interface Params {
|
|
2730
2759
|
}
|
|
2731
2760
|
/**
|