@@ -101,6 +101,9 @@ module.exports = {
101
101
CubeCamera : {
102
102
relativePath : './cameras/CubeCamera' ,
103
103
superClass : 'Object3D' ,
104
+ properties : {
105
+ type : new Types . String ( 'CubeCamera' ) ,
106
+ }
104
107
} ,
105
108
OrthographicCamera : {
106
109
relativePath : './cameras/OrthographicCamera' ,
@@ -113,6 +116,7 @@ module.exports = {
113
116
bottom : new Types . Float ( ) ,
114
117
near : new Types . Float ( 0.1 ) ,
115
118
far : new Types . Float ( 2000 ) ,
119
+ type : new Types . String ( 'OrthographicCamera' ) ,
116
120
} ,
117
121
constructorArgs : [ 'left' , 'right' , 'top' , 'bottom' , 'near' , 'far' ] ,
118
122
} ,
@@ -129,13 +133,15 @@ module.exports = {
129
133
// view: new Types.Dict(),
130
134
// filmGauge: new Types.Float(35.0),
131
135
// filmOffset: new Types.Float(0.0),
136
+ type : new Types . String ( 'PerspectiveCamera' ) ,
132
137
} ,
133
138
constructorArgs : [ 'fov' , 'aspect' , 'near' , 'far' ] ,
134
139
} ,
135
140
ArrayCamera : {
136
141
relativePath : './cameras/ArrayCamera' ,
137
142
superClass : 'PerspectiveCamera' ,
138
143
properties : {
144
+ type : new Types . String ( 'ArrayCamera' ) ,
139
145
} ,
140
146
constructorArgs : [ 'fov' , 'aspect' , 'near' , 'far' ] ,
141
147
} ,
@@ -341,6 +347,7 @@ module.exports = {
341
347
attributes : new Types . ThreeTypeDict ( [ 'BufferAttribute' , 'InterleavedBufferAttribute' ] ) ,
342
348
morphAttributes : new Types . BufferMorphAttributes ( ) ,
343
349
MaxIndex : new Types . Int ( 65535 ) ,
350
+ type : new Types . String ( 'BufferGeometry' ) ,
344
351
// TODO: These likely require special types:
345
352
//groups: new Types.GeometryGroup(),
346
353
//drawRange: new Types.DrawRange(),
@@ -668,6 +675,7 @@ module.exports = {
668
675
refractionRatio : new Types . Float ( 0.98 ) ,
669
676
skinning : new Types . Bool ( false ) ,
670
677
specularMap : new Types . ThreeType ( 'Texture' ) ,
678
+ type : new Types . String ( 'MeshBasicMaterial' ) ,
671
679
wireframe : new Types . Bool ( false ) ,
672
680
wireframeLinewidth : new Types . Float ( 1 ) ,
673
681
wireframeLinecap : new Types . String ( 'round' ) , // TODO: enum?
@@ -1036,6 +1044,7 @@ module.exports = {
1036
1044
geometry : new Types . ThreeType ( [ 'BaseGeometry' , 'BaseBufferGeometry' ] , { nullable : false } ) ,
1037
1045
drawMode : new Types . Enum ( 'DrawModes' , 'TrianglesDrawMode' ) ,
1038
1046
morphTargetInfluences : new Types . Array ( ) ,
1047
+ type : new Types . String ( 'Mesh' ) ,
1039
1048
} ,
1040
1049
propsDefinedByThree : [ 'morphTargetInfluences' ] ,
1041
1050
} ,
@@ -1673,6 +1682,7 @@ module.exports = {
1673
1682
hex : new Types . Int ( 0 ) ,
1674
1683
headLength : new Types . Float ( null , { nullable : true } ) ,
1675
1684
headWidth : new Types . Float ( null , { nullable : true } ) ,
1685
+ type : new Types . String ( 'ArrowHelper' ) ,
1676
1686
} ,
1677
1687
} ,
1678
1688
AxesHelper : {
0 commit comments