Hello, when I try
for(let key in mesh) if(mesh[key].isMatrix4) console.log(key)
,
I can only get matrix
& matrixWorld
, no modelViewMatrix
.
After some research, I found that modelViewMatrix
& normalMatrix
are not enumerable.
Is that intentional? Or just missed adding enumerable: true
, should be added?
Tested Version: r135.
1 Like
Yeah i also noticed this.
I think it is intentional - it is intended only to be used by the renderer which sets this matrix here.
By multiplying view matrix from camera (its matrixWorldInverse) and matrixWorld of an object being rendered. It is later used in renderer for setting program for the object3d.
I think it might be useful for debugging purposes to make this matrix available though.