问题
I can't seem to find the flipSided property in the documentation for material.
I have a mesh that has 2 sides but I would like to flip it's sides.
Does anyone know where that property went?
Edit: To clarify I meant to flip the sides of a two sided object.
回答1:
See the Migration Guide for help upgrading to the current version. There you will find the following:
doubleSided
/ flipSided
properties moved from Object3D
to Material
's side
property (THREE.FrontSide
, THREE.BackSide
and THREE.DoubleSide
).
For example,
material.side = THREE.BackSide;
three.js r.62 - r.109
来源:https://stackoverflow.com/questions/19673913/three-js-flipsided-property