プリミティブオブジェクト Plane と Quad の違いについて
Unity に組み込まれている プリミティブオブジェクト Plane と Quad の違いがよくわからなかったので調べてみた.
- どちらも平面を表現し,画像や動画を表示するために用いられる.
- Plane のほうがメッシュ数が多い.(Plane は121個の頂点と200個の三角形,Quad は4個の頂点と2個の三角形でメッシュを構成)
- Plane は XZ平面, Quad はXY平面
- Plane は床や壁といった平らな表面を表示するために利用される.
- Quad は画像や動画を表示するためのディスプレイとして利用したり,シンプルなGUIや情報を表示するためにも用いられる.
どうもボタンとかを作る場合はQuad使ってくださいねということらしい.
参考URL
- Unity - Manual - Example - Creating a Billboard Plane
http://docs.unity3d.com/Documentation/Manual/Example-CreatingaBillboardPlane.html
http://docs-jp.unity3d.com/Documentation/Manual/Example-CreatingaBillboardPlane.html
- Unity - Community - What is the difference between a quad and a plane from builtin Unity?
http://answers.unity3d.com/questions/139900/what-is-the-difference-between-a-quad-and-a-plane.html
- Unity - Manual - Primitive Objects
http://docs.unity3d.com/Documentation/Manual/PrimitiveObjects.html
http://docs-jp.unity3d.com/Documentation/Manual/PrimitiveObjects.html