
- BabylonJS 教程
- BabylonJS - 主頁
- BabylonJS - 介紹
- BabylonJS - 環境設定
- BabylonJS - 概述
- BabylonJS - 基本要素
- BabylonJS - 材質
- BabylonJS - 動畫
- BabylonJS - 攝像機
- BabylonJS - 光照
- BabylonJS - 引數形
- BabylonJS - 網格
- VectorPosition 和 Rotation
- BabylonJS - 貼花
- BabylonJS - Curve3
- BabylonJS - 動態紋理
- BabylonJS - 視差對映
- BabylonJS - 鏡頭光暈
- BabylonJS - 建立螢幕截圖
- BabylonJS - 反射探頭
- 標準渲染管線
- BabylonJS - ShaderMaterial
- BabylonJS - 骨骼和骨架
- BabylonJS - 物理引擎
- BabylonJS - 播放聲音和音樂
- BabylonJS 有用的資源
- BabylonJS - 快速入門指南
- BabylonJS - 有用的資源
- BabylonJS - 討論
BabylonJS - 平面
這是與 MeshBuilder 一起使用的形狀之一。
語法
var plane = BABYLON.MeshBuilder.CreatePlane("plane", {size, width: 5, height, updatable}, scene);
引數
考慮用於建立平面的以下引數 -
尺寸 - 平面的邊長
寬度 - 寬度尺寸
高度 - 高度尺寸
可更新 - 預設設定,設定為 false。如果它需要在變形期間更新,則可以將其設定為 true。
babylonjs_mesh.htm
廣告